pub struct NetworkAdapterUpdate {
pub base: Option<ResourceUpdate>,
pub controllers: Option<Vec<ControllersUpdate>>,
pub location: Option<LocationUpdate>,
pub lldp_enabled: Option<Boolean>,
pub port_splitting: Option<PortSplittingUpdate>,
pub port_aggregation: Option<PortAggregationUpdate>,
}Expand description
Update struct corresponding to NetworkAdapter
Fields§
§base: Option<ResourceUpdate>§controllers: Option<Vec<ControllersUpdate>>§location: Option<LocationUpdate>§lldp_enabled: Option<Boolean>§port_splitting: Option<PortSplittingUpdate>§port_aggregation: Option<PortAggregationUpdate>Implementations§
Source§impl NetworkAdapterUpdate
impl NetworkAdapterUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_controllers(self, v: Vec<ControllersUpdate>) -> Self
pub fn with_location(self, v: LocationUpdate) -> Self
pub fn with_lldp_enabled(self, v: Boolean) -> Self
pub fn with_port_splitting(self, v: PortSplittingUpdate) -> Self
pub fn with_port_aggregation(self, v: PortAggregationUpdate) -> Self
Trait Implementations§
Source§impl Debug for NetworkAdapterUpdate
impl Debug for NetworkAdapterUpdate
Source§impl Default for NetworkAdapterUpdate
impl Default for NetworkAdapterUpdate
Source§fn default() -> NetworkAdapterUpdate
fn default() -> NetworkAdapterUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for NetworkAdapterUpdate
impl Serialize for NetworkAdapterUpdate
Auto Trait Implementations§
impl Freeze for NetworkAdapterUpdate
impl RefUnwindSafe for NetworkAdapterUpdate
impl Send for NetworkAdapterUpdate
impl Sync for NetworkAdapterUpdate
impl Unpin for NetworkAdapterUpdate
impl UnsafeUnpin for NetworkAdapterUpdate
impl UnwindSafe for NetworkAdapterUpdate
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