pub struct SFP {
pub fiber_connection_type: Option<FiberConnectionType>,
pub manufacturer: Option<String>,
pub medium_type: Option<MediumType>,
pub part_number: Option<String>,
pub serial_number: Option<String>,
pub status: Option<Status>,
pub supported_sfp_types: Option<Vec<SFPType>>,
pub type: Option<SFPType>,
}
Expand description
A small form-factor pluggable (SFP) device attached to a port.
Fields§
§fiber_connection_type: Option<FiberConnectionType>
§manufacturer: Option<String>
The manufacturer of this SFP.
medium_type: Option<MediumType>
§part_number: Option<String>
The part number for this SFP.
serial_number: Option<String>
The serial number for this SFP.
status: Option<Status>
§supported_sfp_types: Option<Vec<SFPType>>
The types of SFP devices that can be attached to this port.
type: Option<SFPType>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SFP
impl<'de> Deserialize<'de> for SFP
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 SFP
impl Metadata<'static> for SFP
Source§const JSON_SCHEMA: &'static str = "Port.v1_9_0.json"
const JSON_SCHEMA: &'static str = "Port.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 SFP
impl RefUnwindSafe for SFP
impl Send for SFP
impl Sync for SFP
impl Unpin for SFP
impl UnwindSafe for SFP
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