pub struct UsageForType {
pub storageType: StorageType,
pub usage: f64,
}Expand description
Usage for a storage type.
Fields§
§storageType: StorageTypeName of storage type.
usage: f64Storage usage (bytes).
Trait Implementations§
Source§impl Clone for UsageForType
impl Clone for UsageForType
Source§fn clone(&self) -> UsageForType
fn clone(&self) -> UsageForType
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 UsageForType
impl Debug for UsageForType
Source§impl Default for UsageForType
impl Default for UsageForType
Source§fn default() -> UsageForType
fn default() -> UsageForType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageForType
impl<'de> Deserialize<'de> for UsageForType
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
Auto Trait Implementations§
impl Freeze for UsageForType
impl RefUnwindSafe for UsageForType
impl Send for UsageForType
impl Sync for UsageForType
impl Unpin for UsageForType
impl UnsafeUnpin for UsageForType
impl UnwindSafe for UsageForType
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