pub struct LinkNic {
pub delete_on_vm_deletion: Option<bool>,
pub device_number: Option<i32>,
pub link_nic_id: Option<String>,
pub state: Option<String>,
pub vm_account_id: Option<String>,
pub vm_id: Option<String>,
}
Expand description
LinkNic : Information about the NIC attachment.
Fields§
§delete_on_vm_deletion: Option<bool>
If true, the NIC is deleted when the VM is terminated.
device_number: Option<i32>
The device index for the NIC attachment (between 1
and 7
, both included).
link_nic_id: Option<String>
The ID of the NIC to attach.
state: Option<String>
The state of the attachment (attaching
\| attached
\| detaching
\| detached
).
vm_account_id: Option<String>
The account ID of the owner of the VM.
vm_id: Option<String>
The ID of the VM.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkNic
impl<'de> Deserialize<'de> for LinkNic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LinkNic
Auto Trait Implementations§
impl Freeze for LinkNic
impl RefUnwindSafe for LinkNic
impl Send for LinkNic
impl Sync for LinkNic
impl Unpin for LinkNic
impl UnwindSafe for LinkNic
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more