pub struct PortMetrics {Show 20 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub actions: Option<Actions>,
pub cxl: Option<CXL>,
pub description: Option<Description>,
pub fibre_channel: Option<FibreChannel>,
pub gen_z: Option<GenZ>,
pub id: Id,
pub name: Name,
pub networking: Option<Networking>,
pub oem: Option<Oem>,
pub pcie_errors: Option<PCIeErrors>,
pub rx_bytes: Option<i64>,
pub rx_errors: Option<i64>,
pub sas: Option<Vec<SAS>>,
pub tx_bytes: Option<i64>,
pub tx_errors: Option<i64>,
pub transceivers: Option<Vec<Transceiver>>,
}
Expand description
The PortMetrics schema contains usage and health statistics for a switch device or component port summary.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: Type
§actions: Option<Actions>
§cxl: Option<CXL>
§description: Option<Description>
§fibre_channel: Option<FibreChannel>
§gen_z: Option<GenZ>
§id: Id
§name: Name
§networking: Option<Networking>
§oem: Option<Oem>
§pcie_errors: Option<PCIeErrors>
§rx_bytes: Option<i64>
The total number of bytes received on a port since reset.
rx_errors: Option<i64>
The total number of received errors on a port since reset.
sas: Option<Vec<SAS>>
The physical (phy) metrics for Serial Attached SCSI (SAS). Each member represents a single phy.
tx_bytes: Option<i64>
The total number of bytes transmitted on a port since reset.
tx_errors: Option<i64>
The total number of transmission errors on a port since reset.
transceivers: Option<Vec<Transceiver>>
The metrics for the transceivers in this port. Each member represents a single transceiver.
Trait Implementations§
Source§impl Clone for PortMetrics
impl Clone for PortMetrics
Source§fn clone(&self) -> PortMetrics
fn clone(&self) -> PortMetrics
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 PortMetrics
impl Debug for PortMetrics
Source§impl Default for PortMetrics
impl Default for PortMetrics
Source§impl<'de> Deserialize<'de> for PortMetrics
impl<'de> Deserialize<'de> for PortMetrics
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 PortMetrics
impl Metadata<'static> for PortMetrics
Source§const JSON_SCHEMA: &'static str = "PortMetrics.v1_4_0.json"
const JSON_SCHEMA: &'static str = "PortMetrics.v1_4_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 PortMetrics
impl RefUnwindSafe for PortMetrics
impl Send for PortMetrics
impl Sync for PortMetrics
impl Unpin for PortMetrics
impl UnwindSafe for PortMetrics
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