pub struct StorageBucketInfoBuilder { /* private fields */ }Expand description
Builder for StorageBucketInfo.
Implementations§
Source§impl StorageBucketInfoBuilder
impl StorageBucketInfoBuilder
pub fn bucket<VALUE: Into<StorageBucket>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn expiration<VALUE: Into<TimeSinceEpoch>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn quota<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn quota<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
Storage quota (bytes).
pub fn persistent<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn durability<VALUE: Into<StorageBucketsDurability>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<StorageBucketInfo, StorageBucketInfoBuilderError>
pub fn build(&self) -> Result<StorageBucketInfo, StorageBucketInfoBuilderError>
Trait Implementations§
Source§impl Clone for StorageBucketInfoBuilder
impl Clone for StorageBucketInfoBuilder
Source§fn clone(&self) -> StorageBucketInfoBuilder
fn clone(&self) -> StorageBucketInfoBuilder
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 StorageBucketInfoBuilder
impl RefUnwindSafe for StorageBucketInfoBuilder
impl Send for StorageBucketInfoBuilder
impl Sync for StorageBucketInfoBuilder
impl Unpin for StorageBucketInfoBuilder
impl UnsafeUnpin for StorageBucketInfoBuilder
impl UnwindSafe for StorageBucketInfoBuilder
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