pub struct MemoryChunks {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 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: Type
§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 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 MemoryChunks
impl Debug for MemoryChunks
Source§impl Default for MemoryChunks
impl Default for MemoryChunks
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
Source§impl Metadata<'static> for MemoryChunks
impl Metadata<'static> for MemoryChunks
Source§const JSON_SCHEMA: &'static str = "MemoryChunks.v1_5_0.json"
const JSON_SCHEMA: &'static str = "MemoryChunks.v1_5_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 MemoryChunks
impl RefUnwindSafe for MemoryChunks
impl Send for MemoryChunks
impl Sync for MemoryChunks
impl Unpin for MemoryChunks
impl UnwindSafe for MemoryChunks
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