Struct aws_sdk_ecs::model::NetworkInterface
source · [−]#[non_exhaustive]pub struct NetworkInterface { /* private fields */ }Expand description
An object representing the elastic network interface for tasks that use the awsvpc network mode.
Implementations
sourceimpl NetworkInterface
impl NetworkInterface
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The attachment ID for the network interface.
sourcepub fn private_ipv4_address(&self) -> Option<&str>
pub fn private_ipv4_address(&self) -> Option<&str>
The private IPv4 address for the network interface.
sourcepub fn ipv6_address(&self) -> Option<&str>
pub fn ipv6_address(&self) -> Option<&str>
The private IPv6 address for the network interface.
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