Struct chromiumoxide::cdp::browser_protocol::storage::GetUsageAndQuotaReturns
source · pub struct GetUsageAndQuotaReturns {
pub usage: f64,
pub quota: f64,
pub override_active: bool,
pub usage_breakdown: Vec<UsageForType>,
}
Expand description
Returns usage and quota in bytes. getUsageAndQuota
Fields§
§usage: f64
Storage usage (bytes).
quota: f64
Storage quota (bytes).
override_active: bool
Whether or not the origin has an active storage quota override
usage_breakdown: Vec<UsageForType>
Storage usage per type (bytes).
Implementations§
Trait Implementations§
source§impl Clone for GetUsageAndQuotaReturns
impl Clone for GetUsageAndQuotaReturns
source§fn clone(&self) -> GetUsageAndQuotaReturns
fn clone(&self) -> GetUsageAndQuotaReturns
Returns a copy 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 GetUsageAndQuotaReturns
impl Debug for GetUsageAndQuotaReturns
source§impl<'de> Deserialize<'de> for GetUsageAndQuotaReturns
impl<'de> Deserialize<'de> for GetUsageAndQuotaReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetUsageAndQuotaReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetUsageAndQuotaReturns, <__D as Deserializer<'de>>::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§fn eq(&self, other: &GetUsageAndQuotaReturns) -> bool
fn eq(&self, other: &GetUsageAndQuotaReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetUsageAndQuotaReturns
impl Serialize for GetUsageAndQuotaReturns
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetUsageAndQuotaReturns
Auto Trait Implementations§
impl RefUnwindSafe for GetUsageAndQuotaReturns
impl Send for GetUsageAndQuotaReturns
impl Sync for GetUsageAndQuotaReturns
impl Unpin 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