Struct chromiumoxide::cdp::browser_protocol::storage::GetUsageAndQuotaReturns[][src]

pub struct GetUsageAndQuotaReturns {
    pub usage: f64,
    pub quota: f64,
    pub override_active: bool,
    pub usage_breakdown: Vec<UsageForType, Global>,
}

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, Global>

Storage usage per type (bytes).

Implementations

impl GetUsageAndQuotaReturns[src]

pub fn new(
    usage: impl Into<f64>,
    quota: impl Into<f64>,
    override_active: impl Into<bool>,
    usage_breakdown: Vec<UsageForType, Global>
) -> GetUsageAndQuotaReturns
[src]

impl GetUsageAndQuotaReturns[src]

Trait Implementations

impl Clone for GetUsageAndQuotaReturns[src]

impl Debug for GetUsageAndQuotaReturns[src]

impl<'de> Deserialize<'de> for GetUsageAndQuotaReturns[src]

impl PartialEq<GetUsageAndQuotaReturns> for GetUsageAndQuotaReturns[src]

impl Serialize for GetUsageAndQuotaReturns[src]

impl StructuralPartialEq for GetUsageAndQuotaReturns[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,