pub struct EthernetUpdate {
pub mac_address: Option<String>,
pub mtu_size: Option<Int64>,
pub vlan: Option<VlanUpdate>,
}Expand description
Update struct corresponding to Ethernet
Fields§
§mac_address: Option<String>§mtu_size: Option<Int64>§vlan: Option<VlanUpdate>Implementations§
Source§impl EthernetUpdate
impl EthernetUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_mac_address(self, v: String) -> Self
pub fn with_mtu_size(self, v: Int64) -> Self
pub fn with_vlan(self, v: VlanUpdate) -> Self
Trait Implementations§
Source§impl Debug for EthernetUpdate
impl Debug for EthernetUpdate
Source§impl Default for EthernetUpdate
impl Default for EthernetUpdate
Source§fn default() -> EthernetUpdate
fn default() -> EthernetUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EthernetUpdate
impl RefUnwindSafe for EthernetUpdate
impl Send for EthernetUpdate
impl Sync for EthernetUpdate
impl Unpin for EthernetUpdate
impl UnsafeUnpin for EthernetUpdate
impl UnwindSafe for EthernetUpdate
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