pub struct StorageEstimate {
pub usage: f64,
pub quota: f64,
}Expand description
Browser storage quota and usage estimate.
Fields§
§usage: f64Bytes used.
quota: f64Total quota in bytes.
Trait Implementations§
Source§impl Clone for StorageEstimate
impl Clone for StorageEstimate
Source§fn clone(&self) -> StorageEstimate
fn clone(&self) -> StorageEstimate
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 StorageEstimate
impl Debug for StorageEstimate
Source§impl<'de> Deserialize<'de> for StorageEstimate
impl<'de> Deserialize<'de> for StorageEstimate
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 StorageEstimate
impl RefUnwindSafe for StorageEstimate
impl Send for StorageEstimate
impl Sync for StorageEstimate
impl Unpin for StorageEstimate
impl UnsafeUnpin for StorageEstimate
impl UnwindSafe for StorageEstimate
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