Struct aws_sdk_ssmsap::types::IpAddressMember
source · #[non_exhaustive]pub struct IpAddressMember {
pub ip_address: Option<String>,
pub primary: Option<bool>,
pub allocation_type: Option<AllocationType>,
}Expand description
Provides information of the IP address.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ip_address: Option<String>The IP address.
primary: Option<bool>The primary IP address.
allocation_type: Option<AllocationType>The type of allocation for the IP address.
Implementations§
source§impl IpAddressMember
impl IpAddressMember
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
The IP address.
sourcepub fn allocation_type(&self) -> Option<&AllocationType>
pub fn allocation_type(&self) -> Option<&AllocationType>
The type of allocation for the IP address.
source§impl IpAddressMember
impl IpAddressMember
sourcepub fn builder() -> IpAddressMemberBuilder
pub fn builder() -> IpAddressMemberBuilder
Creates a new builder-style object to manufacture IpAddressMember.
Trait Implementations§
source§impl Clone for IpAddressMember
impl Clone for IpAddressMember
source§fn clone(&self) -> IpAddressMember
fn clone(&self) -> IpAddressMember
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 moresource§impl Debug for IpAddressMember
impl Debug for IpAddressMember
source§impl PartialEq for IpAddressMember
impl PartialEq for IpAddressMember
source§fn eq(&self, other: &IpAddressMember) -> bool
fn eq(&self, other: &IpAddressMember) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpAddressMember
Auto Trait Implementations§
impl RefUnwindSafe for IpAddressMember
impl Send for IpAddressMember
impl Sync for IpAddressMember
impl Unpin for IpAddressMember
impl UnwindSafe for IpAddressMember
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.