pub struct StorageQuota {
pub limit: Option<String>,
pub usage_in_drive: Option<String>,
pub usage_in_drive_trash: Option<String>,
pub usage: Option<String>,
}Expand description
The user’s storage quota limits and usage. All fields are measured in bytes.
Fields§
§limit: Option<String>The usage limit, if applicable. This will not be present if the user has unlimited storage.
usage_in_drive: Option<String>The usage by all files in Google Drive.
usage_in_drive_trash: Option<String>The usage by trashed files in Google Drive.
usage: Option<String>The total usage across all services.
Implementations§
Source§impl StorageQuota
impl StorageQuota
Trait Implementations§
Source§impl Clone for StorageQuota
impl Clone for StorageQuota
Source§fn clone(&self) -> StorageQuota
fn clone(&self) -> StorageQuota
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 StorageQuota
impl Debug for StorageQuota
Source§impl Default for StorageQuota
impl Default for StorageQuota
Source§fn default() -> StorageQuota
fn default() -> StorageQuota
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageQuota
impl<'de> Deserialize<'de> for StorageQuota
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 Display for StorageQuota
impl Display for StorageQuota
Auto Trait Implementations§
impl Freeze for StorageQuota
impl RefUnwindSafe for StorageQuota
impl Send for StorageQuota
impl Sync for StorageQuota
impl Unpin for StorageQuota
impl UnwindSafe for StorageQuota
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