Struct redfish_codegen::models::switch_metrics::v1_0_0::SwitchMetrics
source · pub struct SwitchMetrics {
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<((char<{ _ }>, S, w, i, t), (c, h, M, e, t, r), (i, c, s, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, S), (w, i, t, c, h, M), (e, t, r, i, c, s))>,
pub actions: Option<Actions>,
pub description: Option<Description>,
pub id: Id,
pub internal_memory_metrics: Option<InternalMemoryMetrics>,
pub name: Name,
pub oem: Option<Oem>,
pub pcie_errors: Option<PCIeErrors>,
}
Expand description
The SwitchMetrics schema contains usage and health statistics for a switch device.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<((char<{ _ }>, S, w, i, t), (c, h, M, e, t, r), (i, c, s, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, S), (w, i, t, c, h, M), (e, t, r, i, c, s))>
§actions: Option<Actions>
§description: Option<Description>
§id: Id
§internal_memory_metrics: Option<InternalMemoryMetrics>
§name: Name
§oem: Option<Oem>
§pcie_errors: Option<PCIeErrors>
Trait Implementations§
source§impl Clone for SwitchMetrics
impl Clone for SwitchMetrics
source§fn clone(&self) -> SwitchMetrics
fn clone(&self) -> SwitchMetrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SwitchMetrics
impl Debug for SwitchMetrics
source§impl Default for SwitchMetrics
impl Default for SwitchMetrics
source§fn default() -> SwitchMetrics
fn default() -> SwitchMetrics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SwitchMetrics
impl<'de> Deserialize<'de> for SwitchMetrics
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