pub struct CacheSummary {
pub persistent_cache_size_mi_b: Option<i64>,
pub status: Option<Status>,
pub total_cache_size_mi_b: i64,
}Expand description
This type describes the cache memory of the storage controller in general detail.
Fields§
§persistent_cache_size_mi_b: Option<i64>The portion of the cache memory that is persistent, measured in MiB.
status: Option<Status>§total_cache_size_mi_b: i64The total configured cache memory, measured in MiB.
Trait Implementations§
Source§impl Clone for CacheSummary
impl Clone for CacheSummary
Source§fn clone(&self) -> CacheSummary
fn clone(&self) -> CacheSummary
Returns a duplicate 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 CacheSummary
impl Debug for CacheSummary
Source§impl Default for CacheSummary
impl Default for CacheSummary
Source§fn default() -> CacheSummary
fn default() -> CacheSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CacheSummary
impl<'de> Deserialize<'de> for CacheSummary
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CacheSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CacheSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for CacheSummary
impl Metadata<'static> for CacheSummary
Source§const JSON_SCHEMA: &'static str = "StorageController.v1_7_0.json"
const JSON_SCHEMA: &'static str = "StorageController.v1_7_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.
Source§impl Serialize for CacheSummary
impl Serialize for CacheSummary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CacheSummary
impl RefUnwindSafe for CacheSummary
impl Send for CacheSummary
impl Sync for CacheSummary
impl Unpin for CacheSummary
impl UnwindSafe for CacheSummary
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