Struct aws_sdk_ec2::model::InstanceIpv6Address
source · #[non_exhaustive]pub struct InstanceIpv6Address { /* private fields */ }
Expand description
Describes an IPv6 address.
Implementations§
source§impl InstanceIpv6Address
impl InstanceIpv6Address
sourcepub fn ipv6_address(&self) -> Option<&str>
pub fn ipv6_address(&self) -> Option<&str>
The IPv6 address.
source§impl InstanceIpv6Address
impl InstanceIpv6Address
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceIpv6Address
.
Examples found in repository?
src/xml_deser.rs (line 70084)
70080 70081 70082 70083 70084 70085 70086 70087 70088 70089 70090 70091 70092 70093 70094 70095 70096 70097 70098 70099 70100 70101 70102 70103 70104
pub fn deser_structure_crate_model_instance_ipv6_address(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::InstanceIpv6Address, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::InstanceIpv6Address::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("ipv6Address") /* Ipv6Address com.amazonaws.ec2#InstanceIpv6Address$Ipv6Address */ => {
let var_3468 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_ipv6_address(var_3468);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for InstanceIpv6Address
impl Clone for InstanceIpv6Address
source§fn clone(&self) -> InstanceIpv6Address
fn clone(&self) -> InstanceIpv6Address
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more