aws_sdk_ec2/protocol_serde/
shape_ipam_public_address_tags.rs1#[allow(clippy::needless_question_mark)]
3pub fn de_ipam_public_address_tags(
4 decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder,
5) -> ::std::result::Result<crate::types::IpamPublicAddressTags, ::aws_smithy_xml::decode::XmlDecodeError> {
6 #[allow(unused_mut)]
7 let mut builder = crate::types::IpamPublicAddressTags::builder();
8 while let Some(mut tag) = decoder.next_tag() {
9 match tag.start_el() {
10 s if s.matches("eipTagSet") => {
11 let var_1 =
12 Some(
13 crate::protocol_serde::shape_ipam_public_address_tag_list::de_ipam_public_address_tag_list(&mut tag)
14 ?
15 )
16 ;
17 builder = builder.set_eip_tags(var_1);
18 }
19 ,
20 _ => {}
21 }
22 }
23 Ok(builder.build())
24}