pub struct LibraryStorage {
pub used: Option<u64>,
pub free: Option<u64>,
pub total: Option<u64>,
pub volume: Option<String>,
}Expand description
Space of the storage holding a library, in bytes. A provider gives what it knows:
one without a quota leaves out free and total.
Fields§
§used: Option<u64>§free: Option<u64>§total: Option<u64>§volume: Option<String>Libraries with the same value share this storage: count its space once.
Trait Implementations§
Source§impl Clone for LibraryStorage
impl Clone for LibraryStorage
Source§impl Debug for LibraryStorage
impl Debug for LibraryStorage
Source§impl Default for LibraryStorage
impl Default for LibraryStorage
Source§impl<'de> Deserialize<'de> for LibraryStorage
impl<'de> Deserialize<'de> for LibraryStorage
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 PartialEq for LibraryStorage
impl PartialEq for LibraryStorage
Source§impl Serialize for LibraryStorage
impl Serialize for LibraryStorage
impl StructuralPartialEq for LibraryStorage
Auto Trait Implementations§
impl Forget for LibraryStorage
impl Freeze for LibraryStorage
impl Move for LibraryStorage
impl RefUnwindSafe for LibraryStorage
impl Send for LibraryStoragewhere
RawVecInner: Send,
impl Sync for LibraryStoragewhere
RawVecInner: Sync,
impl Unpin for LibraryStorage
impl UnsafeUnpin for LibraryStorage
impl UnwindSafe for LibraryStoragewhere
RawVecInner: UnwindSafe,
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