Struct aws_sdk_storagegateway::model::NetworkInterface
source · [−]#[non_exhaustive]pub struct NetworkInterface { /* private fields */ }
Expand description
Describes a gateway's network interface.
Implementations
sourceimpl NetworkInterface
impl NetworkInterface
sourcepub fn ipv4_address(&self) -> Option<&str>
pub fn ipv4_address(&self) -> Option<&str>
The Internet Protocol version 4 (IPv4) address of the interface.
sourcepub fn mac_address(&self) -> Option<&str>
pub fn mac_address(&self) -> Option<&str>
The Media Access Control (MAC) address of the interface.
This is currently unsupported and will not be returned in output.
sourcepub fn ipv6_address(&self) -> Option<&str>
pub fn ipv6_address(&self) -> Option<&str>
The Internet Protocol version 6 (IPv6) address of the interface. Currently not supported.
sourceimpl NetworkInterface
impl NetworkInterface
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkInterface
.
Trait Implementations
sourceimpl Clone for NetworkInterface
impl Clone for NetworkInterface
sourcefn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NetworkInterface
impl Debug for NetworkInterface
sourceimpl PartialEq<NetworkInterface> for NetworkInterface
impl PartialEq<NetworkInterface> for NetworkInterface
sourcefn eq(&self, other: &NetworkInterface) -> bool
fn eq(&self, other: &NetworkInterface) -> bool
impl StructuralPartialEq for NetworkInterface
Auto Trait Implementations
impl RefUnwindSafe for NetworkInterface
impl Send for NetworkInterface
impl Sync for NetworkInterface
impl Unpin for NetworkInterface
impl UnwindSafe for NetworkInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more