aws_sdk_elasticloadbalancingv2/protocol_serde/
shape_target_group_attributes.rspub fn de_target_group_attributes(
decoder: &mut ::aws_smithy_xml::decode::ScopedDecoder,
) -> Result<::std::vec::Vec<crate::types::TargetGroupAttribute>, ::aws_smithy_xml::decode::XmlDecodeError> {
let mut out = std::vec::Vec::new();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("member") => {
out.push(
crate::protocol_serde::shape_target_group_attribute::de_target_group_attribute(&mut tag)
?
);
}
,
_ => {}
}
}
Ok(out)
}