pub struct Capacity {
pub repository_id: String,
pub volume_id: String,
pub total_bytes: u64,
pub available_bytes: u64,
pub stop_at_available_bytes: u64,
pub warning_at_available_bytes: u64,
}Fields§
§repository_id: String§volume_id: StringIdentifies a filesystem for display; capacity from identical volumes is never summed.
total_bytes: u64§available_bytes: u64§stop_at_available_bytes: u64§warning_at_available_bytes: u64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Capacity
impl<'de> Deserialize<'de> for Capacity
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
impl Eq for Capacity
impl StructuralPartialEq for Capacity
Auto Trait Implementations§
impl Forget for Capacity
impl Freeze for Capacity
impl RefUnwindSafe for Capacity
impl Send for Capacity
impl Sync for Capacity
impl Unpin for Capacity
impl UnsafeUnpin for Capacity
impl UnwindSafe for Capacity
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