pub struct NetworkDeviceFunctionUpdate {
pub base: Option<ResourceUpdate>,
pub net_dev_func_type: Option<NetworkDeviceTechnology>,
pub device_enabled: Option<Boolean>,
pub ethernet: Option<EthernetUpdate>,
pub iscsi_boot: Option<IscsiBootUpdate>,
pub fibre_channel: Option<FibreChannelUpdate>,
pub boot_mode: Option<BootMode>,
pub infini_band: Option<InfiniBandUpdate>,
pub savi_enabled: Option<Boolean>,
pub limits: Option<Vec<LimitUpdate>>,
pub http_boot: Option<HttpBootUpdate>,
pub virtual_function_allocation: Option<Int64>,
}Expand description
Update struct corresponding to NetworkDeviceFunction
Fields§
§base: Option<ResourceUpdate>§net_dev_func_type: Option<NetworkDeviceTechnology>§device_enabled: Option<Boolean>§ethernet: Option<EthernetUpdate>§iscsi_boot: Option<IscsiBootUpdate>§fibre_channel: Option<FibreChannelUpdate>§boot_mode: Option<BootMode>§infini_band: Option<InfiniBandUpdate>§savi_enabled: Option<Boolean>§limits: Option<Vec<LimitUpdate>>§http_boot: Option<HttpBootUpdate>§virtual_function_allocation: Option<Int64>Implementations§
Source§impl NetworkDeviceFunctionUpdate
impl NetworkDeviceFunctionUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_net_dev_func_type(self, v: NetworkDeviceTechnology) -> Self
pub fn with_device_enabled(self, v: Boolean) -> Self
pub fn with_ethernet(self, v: EthernetUpdate) -> Self
pub fn with_iscsi_boot(self, v: IscsiBootUpdate) -> Self
pub fn with_fibre_channel(self, v: FibreChannelUpdate) -> Self
pub fn with_boot_mode(self, v: BootMode) -> Self
pub fn with_infini_band(self, v: InfiniBandUpdate) -> Self
pub fn with_savi_enabled(self, v: Boolean) -> Self
pub fn with_limits(self, v: Vec<LimitUpdate>) -> Self
pub fn with_http_boot(self, v: HttpBootUpdate) -> Self
pub fn with_virtual_function_allocation(self, v: Int64) -> Self
Trait Implementations§
Source§impl Debug for NetworkDeviceFunctionUpdate
impl Debug for NetworkDeviceFunctionUpdate
Source§impl Default for NetworkDeviceFunctionUpdate
impl Default for NetworkDeviceFunctionUpdate
Source§fn default() -> NetworkDeviceFunctionUpdate
fn default() -> NetworkDeviceFunctionUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetworkDeviceFunctionUpdate
impl RefUnwindSafe for NetworkDeviceFunctionUpdate
impl Send for NetworkDeviceFunctionUpdate
impl Sync for NetworkDeviceFunctionUpdate
impl Unpin for NetworkDeviceFunctionUpdate
impl UnsafeUnpin for NetworkDeviceFunctionUpdate
impl UnwindSafe for NetworkDeviceFunctionUpdate
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