pub struct GetUsageAndQuotaReturnBuilder { /* private fields */ }Available on crate features
experimental and Storage and Browser and Network only.Implementations§
Source§impl GetUsageAndQuotaReturnBuilder
impl GetUsageAndQuotaReturnBuilder
Sourcepub fn override_active(&mut self, v: bool) -> &mut Self
pub fn override_active(&mut self, v: bool) -> &mut Self
Whether or not the origin has an active storage quota override
Sourcepub fn usage_breakdown(&mut self, v: Vec<UsageForType>) -> &mut Self
pub fn usage_breakdown(&mut self, v: Vec<UsageForType>) -> &mut Self
Storage usage per type (bytes).
pub fn build(&mut self) -> Result<GetUsageAndQuotaReturn, &'static str>
Trait Implementations§
Source§impl Clone for GetUsageAndQuotaReturnBuilder
impl Clone for GetUsageAndQuotaReturnBuilder
Source§fn clone(&self) -> GetUsageAndQuotaReturnBuilder
fn clone(&self) -> GetUsageAndQuotaReturnBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetUsageAndQuotaReturnBuilder
impl RefUnwindSafe for GetUsageAndQuotaReturnBuilder
impl Send for GetUsageAndQuotaReturnBuilder
impl Sync for GetUsageAndQuotaReturnBuilder
impl Unpin for GetUsageAndQuotaReturnBuilder
impl UnwindSafe for GetUsageAndQuotaReturnBuilder
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