pub struct StorageQuotaBuilder { /* private fields */ }Expand description
Builder for StorageQuota with fluent API.
Implementations§
Source§impl StorageQuotaBuilder
impl StorageQuotaBuilder
Sourcepub fn total_bytes(self, bytes: Bytes) -> Self
pub fn total_bytes(self, bytes: Bytes) -> Self
Set total bytes.
Sourcepub fn used_bytes(self, bytes: Bytes) -> Self
pub fn used_bytes(self, bytes: Bytes) -> Self
Set used bytes.
Sourcepub fn reserved_bytes(self, bytes: Bytes) -> Self
pub fn reserved_bytes(self, bytes: Bytes) -> Self
Set reserved bytes.
Sourcepub fn build(self) -> StorageQuota
pub fn build(self) -> StorageQuota
Build the StorageQuota.
Trait Implementations§
Source§impl Debug for StorageQuotaBuilder
impl Debug for StorageQuotaBuilder
Source§impl Default for StorageQuotaBuilder
impl Default for StorageQuotaBuilder
Source§fn default() -> StorageQuotaBuilder
fn default() -> StorageQuotaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageQuotaBuilder
impl RefUnwindSafe for StorageQuotaBuilder
impl Send for StorageQuotaBuilder
impl Sync for StorageQuotaBuilder
impl Unpin for StorageQuotaBuilder
impl UnwindSafe for StorageQuotaBuilder
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