aws_sdk_s3/protocol_serde/
shape_metadata_table_configuration_result.rs
1#[allow(clippy::needless_question_mark)]
3pub fn de_metadata_table_configuration_result(
4 decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder,
5) -> ::std::result::Result<crate::types::MetadataTableConfigurationResult, ::aws_smithy_xml::decode::XmlDecodeError> {
6 #[allow(unused_mut)]
7 let mut builder = crate::types::MetadataTableConfigurationResult::builder();
8 while let Some(mut tag) = decoder.next_tag() {
9 match tag.start_el() {
10 s if s.matches("S3TablesDestinationResult") => {
11 let var_1 =
12 Some(
13 crate::protocol_serde::shape_s3_tables_destination_result::de_s3_tables_destination_result(&mut tag)
14 ?
15 )
16 ;
17 builder = builder.set_s3_tables_destination_result(var_1);
18 }
19 ,
20 _ => {}
21 }
22 }
23 Ok(crate::serde_util::metadata_table_configuration_result_correct_errors(builder).build())
24}