pub struct VirtualFunction {
pub device_max_count: Option<i64>,
pub min_assignment_group_size: Option<i64>,
pub network_port_max_count: Option<i64>,
}
Expand description
A virtual function of a controller.
Fields§
§device_max_count: Option<i64>
The maximum number of virtual functions supported by this controller.
min_assignment_group_size: Option<i64>
The minimum number of virtual functions that can be allocated or moved between physical functions for this controller.
network_port_max_count: Option<i64>
The maximum number of virtual functions supported per network port for this controller.
Trait Implementations§
Source§impl Clone for VirtualFunction
impl Clone for VirtualFunction
Source§fn clone(&self) -> VirtualFunction
fn clone(&self) -> VirtualFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VirtualFunction
impl Debug for VirtualFunction
Source§impl Default for VirtualFunction
impl Default for VirtualFunction
Source§impl<'de> Deserialize<'de> for VirtualFunction
impl<'de> Deserialize<'de> for VirtualFunction
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 Metadata<'static> for VirtualFunction
impl Metadata<'static> for VirtualFunction
Source§const JSON_SCHEMA: &'static str = "NetworkAdapter.v1_9_0.json"
const JSON_SCHEMA: &'static str = "NetworkAdapter.v1_9_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for VirtualFunction
impl RefUnwindSafe for VirtualFunction
impl Send for VirtualFunction
impl Sync for VirtualFunction
impl Unpin for VirtualFunction
impl UnwindSafe for VirtualFunction
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