pub struct NetworkInterfaceUpdate {
pub name: Option<String>,
pub mac_address: Option<String>,
pub virtual_network_id: Option<String>,
pub ipv4_address_type: Option<AllocationMethod>,
pub ipv6_address_type: Option<AllocationMethod>,
pub mac_address_type: Option<AllocationMethod>,
pub nic_id: Option<String>,
}Expand description
Network Interface Update model
Fields§
§name: Option<String>Gets or sets the name of the network interface.
mac_address: Option<String>Gets or sets the nic MAC address.
virtual_network_id: Option<String>Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.
ipv4_address_type: Option<AllocationMethod>Network address allocation method.
ipv6_address_type: Option<AllocationMethod>Network address allocation method.
mac_address_type: Option<AllocationMethod>Network address allocation method.
nic_id: Option<String>Gets or sets the nic id.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkInterfaceUpdate
impl Clone for NetworkInterfaceUpdate
Source§fn clone(&self) -> NetworkInterfaceUpdate
fn clone(&self) -> NetworkInterfaceUpdate
Returns a duplicate 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 NetworkInterfaceUpdate
impl Debug for NetworkInterfaceUpdate
Source§impl Default for NetworkInterfaceUpdate
impl Default for NetworkInterfaceUpdate
Source§fn default() -> NetworkInterfaceUpdate
fn default() -> NetworkInterfaceUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkInterfaceUpdate
impl<'de> Deserialize<'de> for NetworkInterfaceUpdate
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
Source§impl PartialEq for NetworkInterfaceUpdate
impl PartialEq for NetworkInterfaceUpdate
Source§impl Serialize for NetworkInterfaceUpdate
impl Serialize for NetworkInterfaceUpdate
impl StructuralPartialEq for NetworkInterfaceUpdate
Auto Trait Implementations§
impl Freeze for NetworkInterfaceUpdate
impl RefUnwindSafe for NetworkInterfaceUpdate
impl Send for NetworkInterfaceUpdate
impl Sync for NetworkInterfaceUpdate
impl Unpin for NetworkInterfaceUpdate
impl UnwindSafe for NetworkInterfaceUpdate
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