pub struct CapacityInfo {
pub allocated_bytes: Option<i64>,
pub consumed_bytes: Option<i64>,
pub guaranteed_bytes: Option<i64>,
pub provisioned_bytes: Option<i64>,
}
Expand description
The capacity of specific data type in a data store.
Fields§
§allocated_bytes: Option<i64>
The number of bytes currently allocated by the storage system in this data store for this data type.
consumed_bytes: Option<i64>
The number of bytes consumed in this data store for this data type.
guaranteed_bytes: Option<i64>
The number of bytes the storage system guarantees can be allocated in this data store for this data type.
provisioned_bytes: Option<i64>
The maximum number of bytes that can be allocated in this data store for this data type.
Trait Implementations§
Source§impl Clone for CapacityInfo
impl Clone for CapacityInfo
Source§fn clone(&self) -> CapacityInfo
fn clone(&self) -> CapacityInfo
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 CapacityInfo
impl Debug for CapacityInfo
Source§impl Default for CapacityInfo
impl Default for CapacityInfo
Source§impl<'de> Deserialize<'de> for CapacityInfo
impl<'de> Deserialize<'de> for CapacityInfo
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 CapacityInfo
impl Metadata<'static> for CapacityInfo
Source§const JSON_SCHEMA: &'static str = "Capacity.v1_1_3.json"
const JSON_SCHEMA: &'static str = "Capacity.v1_1_3.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 CapacityInfo
impl RefUnwindSafe for CapacityInfo
impl Send for CapacityInfo
impl Sync for CapacityInfo
impl Unpin for CapacityInfo
impl UnwindSafe for CapacityInfo
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