pub struct MakeBucketOptions {
pub lock_enabled: bool,
pub versioning_enabled: bool,
pub force_create: bool,
pub created_at: Option<OffsetDateTime>,
pub no_lock: bool,
}Expand description
Options for creating a new bucket.
Fields§
§lock_enabled: boolEnable object lock for the bucket.
versioning_enabled: boolEnable versioning for the bucket.
force_create: boolForce creation even if bucket already exists.
created_at: Option<OffsetDateTime>Optional creation timestamp.
no_lock: boolSkip acquiring namespace lock.
Trait Implementations§
Source§impl Debug for MakeBucketOptions
impl Debug for MakeBucketOptions
Source§impl Default for MakeBucketOptions
impl Default for MakeBucketOptions
Source§impl<'de> Deserialize<'de> for MakeBucketOptions
impl<'de> Deserialize<'de> for MakeBucketOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MakeBucketOptions
impl RefUnwindSafe for MakeBucketOptions
impl Send for MakeBucketOptions
impl Sync for MakeBucketOptions
impl Unpin for MakeBucketOptions
impl UnsafeUnpin for MakeBucketOptions
impl UnwindSafe for MakeBucketOptions
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