pub struct PhysicalNicLinkInfo {
pub speed_mb: i32,
pub duplex: bool,
}Expand description
The PhysicalNicLinkInfo data object describes the link speed and the type of duplex communication.
The link speed indicates the bit rate in megabits per second. The duplex boolean indicates if the link is capable of full-duplex or half-duplex communication.
§How to access
HostSystem::config.network?.pnic?[*].link_speed?HostSystem::config.network?.pnic?[*].valid_link_specification?[*]HostSystem::config.network?.pnic?[*].spec.link_speed?HostSystem::config.sriov_device_pool?[*]→HostSriovNetworkDevicePoolInfo.pnic?[*].link_speed?HostSystem::config.sriov_device_pool?[*]→HostSriovNetworkDevicePoolInfo.pnic?[*].valid_link_specification?[*]HostNetworkSystem::network_info.pnic?[*].link_speed?HostNetworkSystem::network_info.pnic?[*].valid_link_specification?[*]HostNetworkSystem::network_config.pnic?[*].spec.link_speed?HostNetworkSystem::network_info.pnic?[*].spec.link_speed?HostPciPassthruSystem::sriov_device_pool_info→HostSriovNetworkDevicePoolInfo.pnic?[*].link_speed?
(10 of 29 paths)
Fields§
§speed_mb: i32Bit rate on the link.
duplex: boolFlag to indicate whether or not the link is capable of full-duplex (“true”) or only half-duplex (“false”).
Trait Implementations§
Source§impl Debug for PhysicalNicLinkInfo
impl Debug for PhysicalNicLinkInfo
Source§impl Deserialize for PhysicalNicLinkInfo
impl Deserialize for PhysicalNicLinkInfo
Source§impl VimObjectTrait for PhysicalNicLinkInfo
impl VimObjectTrait for PhysicalNicLinkInfo
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for PhysicalNicLinkInfo
Auto Trait Implementations§
impl Freeze for PhysicalNicLinkInfo
impl RefUnwindSafe for PhysicalNicLinkInfo
impl Send for PhysicalNicLinkInfo
impl Sync for PhysicalNicLinkInfo
impl Unpin for PhysicalNicLinkInfo
impl UnsafeUnpin for PhysicalNicLinkInfo
impl UnwindSafe for PhysicalNicLinkInfo
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