pub struct GetUsageAndQuotaReturns {
pub usage: f64,
pub quota: f64,
pub override_active: bool,
pub usage_breakdown: Vec<UsageForType>,
}Expand description
What Storage.getUsageAndQuota answers with.
Fields§
§usage: f64Storage usage (bytes).
quota: f64Storage quota (bytes).
override_active: boolWhether or not the origin has an active storage quota override
usage_breakdown: Vec<UsageForType>Storage usage per type (bytes).
Trait Implementations§
Source§impl Clone for GetUsageAndQuotaReturns
impl Clone for GetUsageAndQuotaReturns
Source§impl Debug for GetUsageAndQuotaReturns
impl Debug for GetUsageAndQuotaReturns
Source§impl Default for GetUsageAndQuotaReturns
impl Default for GetUsageAndQuotaReturns
Source§impl<'de> Deserialize<'de> for GetUsageAndQuotaReturns
impl<'de> Deserialize<'de> for GetUsageAndQuotaReturns
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 GetUsageAndQuotaReturns
impl PartialEq for GetUsageAndQuotaReturns
Source§impl Serialize for GetUsageAndQuotaReturns
impl Serialize for GetUsageAndQuotaReturns
impl StructuralPartialEq for GetUsageAndQuotaReturns
Auto Trait Implementations§
impl Forget for GetUsageAndQuotaReturns
impl Freeze for GetUsageAndQuotaReturns
impl RefUnwindSafe for GetUsageAndQuotaReturns
impl Send for GetUsageAndQuotaReturns
impl Sync for GetUsageAndQuotaReturns
impl Unpin for GetUsageAndQuotaReturns
impl UnsafeUnpin for GetUsageAndQuotaReturns
impl UnwindSafe for GetUsageAndQuotaReturns
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