aws_sdk_s3/protocol_serde/
shape_scan_range.rspub fn ser_scan_range(
input: &crate::types::ScanRange,
writer: ::aws_smithy_xml::encode::ElWriter,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
#[allow(unused_mut)]
let mut scope = writer.finish();
if let Some(var_1) = &input.start {
let mut inner_writer = scope.start_el("Start").finish();
inner_writer.data(::aws_smithy_types::primitive::Encoder::from(*var_1).encode());
}
if let Some(var_2) = &input.end {
let mut inner_writer = scope.start_el("End").finish();
inner_writer.data(::aws_smithy_types::primitive::Encoder::from(*var_2).encode());
}
scope.finish();
Ok(())
}