pub struct GetUsageAndQuotaReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetUsageAndQuotaReturnObject.
Implementations§
Source§impl GetUsageAndQuotaReturnObjectBuilder
impl GetUsageAndQuotaReturnObjectBuilder
Sourcepub fn override_active(&mut self, value: bool) -> &mut Self
pub fn override_active(&mut self, value: bool) -> &mut Self
Whether or not the origin has an active storage quota override
Sourcepub fn usage_breakdown(&mut self, value: Vec<UsageForType>) -> &mut Self
pub fn usage_breakdown(&mut self, value: Vec<UsageForType>) -> &mut Self
Storage usage per type (bytes).
Sourcepub fn build(
&self,
) -> Result<GetUsageAndQuotaReturnObject, GetUsageAndQuotaReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetUsageAndQuotaReturnObject, GetUsageAndQuotaReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetUsageAndQuotaReturnObjectBuilder
impl Clone for GetUsageAndQuotaReturnObjectBuilder
Source§fn clone(&self) -> GetUsageAndQuotaReturnObjectBuilder
fn clone(&self) -> GetUsageAndQuotaReturnObjectBuilder
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 GetUsageAndQuotaReturnObjectBuilder
impl RefUnwindSafe for GetUsageAndQuotaReturnObjectBuilder
impl Send for GetUsageAndQuotaReturnObjectBuilder
impl Sync for GetUsageAndQuotaReturnObjectBuilder
impl Unpin for GetUsageAndQuotaReturnObjectBuilder
impl UnsafeUnpin for GetUsageAndQuotaReturnObjectBuilder
impl UnwindSafe for GetUsageAndQuotaReturnObjectBuilder
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