aws-sdk-s3 1.138.1

AWS SDK for Amazon Simple Storage Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_metadata_configuration(
    input: &crate::types::MetadataConfiguration,
    writer: ::aws_smithy_xml::encode::ElWriter,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    #[allow(unused_mut)]
    let mut scope = writer.finish();
    if let Some(var_1) = &input.journal_table_configuration {
        let inner_writer = scope.start_el("JournalTableConfiguration");
        crate::protocol_serde::shape_journal_table_configuration::ser_journal_table_configuration(var_1, inner_writer)?
    }
    if let Some(var_2) = &input.inventory_table_configuration {
        let inner_writer = scope.start_el("InventoryTableConfiguration");
        crate::protocol_serde::shape_inventory_table_configuration::ser_inventory_table_configuration(var_2, inner_writer)?
    }
    if let Some(var_3) = &input.annotation_table_configuration {
        let inner_writer = scope.start_el("AnnotationTableConfiguration");
        crate::protocol_serde::shape_annotation_table_configuration::ser_annotation_table_configuration(var_3, inner_writer)?
    }
    scope.finish();
    Ok(())
}