pub struct SupportedLinkCapabilities {
pub auto_speed_negotiation: Option<bool>,
pub capable_link_speed_mbps: Option<Vec<i64>>,
pub link_network_technology: Option<LinkNetworkTechnology>,
pub link_speed_mbps: Option<i64>,
}
Expand description
The link capabilities of an associated port.
Fields§
§auto_speed_negotiation: Option<bool>
An indication of whether the port is capable of autonegotiating speed.
capable_link_speed_mbps: Option<Vec<i64>>
The set of link speed capabilities of this port.
link_network_technology: Option<LinkNetworkTechnology>
§link_speed_mbps: Option<i64>
The speed of the link in Mbit/s when this link network technology is active.
Trait Implementations§
Source§impl Clone for SupportedLinkCapabilities
impl Clone for SupportedLinkCapabilities
Source§fn clone(&self) -> SupportedLinkCapabilities
fn clone(&self) -> SupportedLinkCapabilities
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 SupportedLinkCapabilities
impl Debug for SupportedLinkCapabilities
Source§impl Default for SupportedLinkCapabilities
impl Default for SupportedLinkCapabilities
Source§impl<'de> Deserialize<'de> for SupportedLinkCapabilities
impl<'de> Deserialize<'de> for SupportedLinkCapabilities
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 SupportedLinkCapabilities
impl Metadata<'static> for SupportedLinkCapabilities
Source§const JSON_SCHEMA: &'static str = "NetworkPort.v1_4_1.json"
const JSON_SCHEMA: &'static str = "NetworkPort.v1_4_1.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 SupportedLinkCapabilities
impl RefUnwindSafe for SupportedLinkCapabilities
impl Send for SupportedLinkCapabilities
impl Sync for SupportedLinkCapabilities
impl Unpin for SupportedLinkCapabilities
impl UnwindSafe for SupportedLinkCapabilities
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