Struct redfish_codegen::models::memory_chunks::v1_5_0::MemoryChunks
source · pub struct MemoryChunks {Show 20 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, C, h), (u, n, k, s, char<{ _ }>, v), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (M, e, m, o, r, y), (C, h, u, n, k, s))>,
pub actions: Option<Actions>,
pub address_range_offset_mi_b: Option<i64>,
pub address_range_type: AddressRangeType,
pub description: Option<Description>,
pub display_name: Option<String>,
pub id: Id,
pub interleave_sets: Option<Vec<InterleaveSet>>,
pub is_mirror_enabled: Option<bool>,
pub is_spare: Option<bool>,
pub links: Option<Links>,
pub media_location: Option<MediaLocation>,
pub memory_chunk_size_mi_b: Option<i64>,
pub name: Name,
pub oem: Option<Oem>,
pub requested_operational_state: Option<OperationalState>,
pub status: Option<Status>,
}
Expand description
The schema definition of a memory chunk and its configuration.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<((char<{ _ }>, M, e), (m, o, r, y, C, h), (u, n, k, s, char<{ _ }>, v), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (M, e, m, o, r, y), (C, h, u, n, k, s))>
§actions: Option<Actions>
§address_range_offset_mi_b: Option<i64>
Offset of the memory chunk in the address range in MiB.
address_range_type: AddressRangeType
§description: Option<Description>
§display_name: Option<String>
A user-configurable string to name the memory chunk.
id: Id
§interleave_sets: Option<Vec<InterleaveSet>>
The interleave sets for the memory chunk.
is_mirror_enabled: Option<bool>
An indication of whether memory mirroring is enabled for this memory chunk.
is_spare: Option<bool>
An indication of whether sparing is enabled for this memory chunk.
links: Option<Links>
§media_location: Option<MediaLocation>
§memory_chunk_size_mi_b: Option<i64>
Size of the memory chunk measured in mebibytes (MiB).
name: Name
§oem: Option<Oem>
§requested_operational_state: Option<OperationalState>
§status: Option<Status>
Trait Implementations§
source§impl Clone for MemoryChunks
impl Clone for MemoryChunks
source§fn clone(&self) -> MemoryChunks
fn clone(&self) -> MemoryChunks
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 MemoryChunks
impl Debug for MemoryChunks
source§impl Default for MemoryChunks
impl Default for MemoryChunks
source§fn default() -> MemoryChunks
fn default() -> MemoryChunks
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MemoryChunks
impl<'de> Deserialize<'de> for MemoryChunks
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