aws_sdk_s3/protocol_serde/
shape_csv_output.rspub fn ser_csv_output(
input: &crate::types::CsvOutput,
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.quote_fields {
let mut inner_writer = scope.start_el("QuoteFields").finish();
inner_writer.data(var_1.as_str());
}
if let Some(var_2) = &input.quote_escape_character {
let mut inner_writer = scope.start_el("QuoteEscapeCharacter").finish();
inner_writer.data(var_2.as_str());
}
if let Some(var_3) = &input.record_delimiter {
let mut inner_writer = scope.start_el("RecordDelimiter").finish();
inner_writer.data(var_3.as_str());
}
if let Some(var_4) = &input.field_delimiter {
let mut inner_writer = scope.start_el("FieldDelimiter").finish();
inner_writer.data(var_4.as_str());
}
if let Some(var_5) = &input.quote_character {
let mut inner_writer = scope.start_el("QuoteCharacter").finish();
inner_writer.data(var_5.as_str());
}
scope.finish();
Ok(())
}