pub struct GetUsageAndQuotaReturn { /* private fields */ }Available on crate features
experimental and Storage and Browser and Network only.Expand description
Returns usage and quota in bytes.
Implementations§
Source§impl GetUsageAndQuotaReturn
impl GetUsageAndQuotaReturn
pub fn builder() -> GetUsageAndQuotaReturnBuilder
Sourcepub fn override_active(&self) -> bool
pub fn override_active(&self) -> bool
Whether or not the origin has an active storage quota override
Sourcepub fn usage_breakdown(&self) -> &[UsageForType]
pub fn usage_breakdown(&self) -> &[UsageForType]
Storage usage per type (bytes).
Trait Implementations§
Source§impl Clone for GetUsageAndQuotaReturn
impl Clone for GetUsageAndQuotaReturn
Source§fn clone(&self) -> GetUsageAndQuotaReturn
fn clone(&self) -> GetUsageAndQuotaReturn
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 GetUsageAndQuotaReturn
impl Debug for GetUsageAndQuotaReturn
Source§impl<'de> Deserialize<'de> for GetUsageAndQuotaReturn
impl<'de> Deserialize<'de> for GetUsageAndQuotaReturn
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 GetUsageAndQuotaReturn
impl RefUnwindSafe for GetUsageAndQuotaReturn
impl Send for GetUsageAndQuotaReturn
impl Sync for GetUsageAndQuotaReturn
impl Unpin for GetUsageAndQuotaReturn
impl UnwindSafe for GetUsageAndQuotaReturn
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