Struct redfish_codegen::models::memory_metrics::v1_6_0::MemoryMetrics
source · pub struct MemoryMetrics {Show 19 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<((char<{ _ }>, M, e, m, o), (r, y, M, e, t, r), (i, c, s, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, M), (e, m, o, r, y, M), (e, t, r, i, c, s))>,
pub actions: Option<Actions>,
pub bandwidth_percent: Option<f64>,
pub block_size_bytes: Option<i64>,
pub cxl: Option<CXL>,
pub corrected_persistent_error_count: Option<i64>,
pub corrected_volatile_error_count: Option<i64>,
pub current_period: Option<CurrentPeriod>,
pub description: Option<Description>,
pub dirty_shutdown_count: Option<i64>,
pub health_data: Option<HealthData>,
pub id: Id,
pub life_time: Option<LifeTime>,
pub name: Name,
pub oem: Option<Oem>,
pub operating_speed_m_hz: Option<i64>,
}
Expand description
The usage and health statistics for a memory device or system memory summary.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<((char<{ _ }>, M, e, m, o), (r, y, M, e, t, r), (i, c, s, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, M), (e, m, o, r, y, M), (e, t, r, i, c, s))>
§actions: Option<Actions>
§bandwidth_percent: Option<f64>
The memory bandwidth utilization as a percentage.
block_size_bytes: Option<i64>
The block size, in bytes.
cxl: Option<CXL>
§corrected_persistent_error_count: Option<i64>
The number of corrected errors in persistent memory.
corrected_volatile_error_count: Option<i64>
The number of corrected errors in volatile memory.
current_period: Option<CurrentPeriod>
§description: Option<Description>
§dirty_shutdown_count: Option<i64>
The number of shutdowns while outstanding writes have not completed to persistent memory.
health_data: Option<HealthData>
§id: Id
§life_time: Option<LifeTime>
§name: Name
§oem: Option<Oem>
§operating_speed_m_hz: Option<i64>
Operating speed of memory in MHz or MT/s as appropriate.
Trait Implementations§
source§impl Clone for MemoryMetrics
impl Clone for MemoryMetrics
source§fn clone(&self) -> MemoryMetrics
fn clone(&self) -> MemoryMetrics
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 MemoryMetrics
impl Debug for MemoryMetrics
source§impl Default for MemoryMetrics
impl Default for MemoryMetrics
source§fn default() -> MemoryMetrics
fn default() -> MemoryMetrics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MemoryMetrics
impl<'de> Deserialize<'de> for MemoryMetrics
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