#[non_exhaustive]pub struct AttachNetworkInterfaceOutput {
pub attachment_id: Option<String>,
pub network_card_index: Option<i32>,
/* private fields */
}
Expand description
Contains the output of AttachNetworkInterface.
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.attachment_id: Option<String>
The ID of the network interface attachment.
network_card_index: Option<i32>
The index of the network card.
Implementations§
source§impl AttachNetworkInterfaceOutput
impl AttachNetworkInterfaceOutput
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the network interface attachment.
sourcepub fn network_card_index(&self) -> Option<i32>
pub fn network_card_index(&self) -> Option<i32>
The index of the network card.
source§impl AttachNetworkInterfaceOutput
impl AttachNetworkInterfaceOutput
sourcepub fn builder() -> AttachNetworkInterfaceOutputBuilder
pub fn builder() -> AttachNetworkInterfaceOutputBuilder
Creates a new builder-style object to manufacture AttachNetworkInterfaceOutput
.
Trait Implementations§
source§impl Clone for AttachNetworkInterfaceOutput
impl Clone for AttachNetworkInterfaceOutput
source§fn clone(&self) -> AttachNetworkInterfaceOutput
fn clone(&self) -> AttachNetworkInterfaceOutput
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 AttachNetworkInterfaceOutput
impl Debug for AttachNetworkInterfaceOutput
source§impl PartialEq<AttachNetworkInterfaceOutput> for AttachNetworkInterfaceOutput
impl PartialEq<AttachNetworkInterfaceOutput> for AttachNetworkInterfaceOutput
source§fn eq(&self, other: &AttachNetworkInterfaceOutput) -> bool
fn eq(&self, other: &AttachNetworkInterfaceOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for AttachNetworkInterfaceOutput
impl RequestId for AttachNetworkInterfaceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for AttachNetworkInterfaceOutput
Auto Trait Implementations§
impl RefUnwindSafe for AttachNetworkInterfaceOutput
impl Send for AttachNetworkInterfaceOutput
impl Sync for AttachNetworkInterfaceOutput
impl Unpin for AttachNetworkInterfaceOutput
impl UnwindSafe for AttachNetworkInterfaceOutput
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