pub struct DeleteBucketOptions {
pub no_lock: bool,
pub no_recreate: bool,
pub force: bool,
pub force_if_empty: bool,
pub srdelete_op: SRBucketDeleteOp,
}Expand description
Options for deleting a bucket.
Fields§
§no_lock: boolSkip acquiring namespace lock.
no_recreate: boolDo not recreate bucket on failure.
force: boolForce deletion even if bucket is not empty.
force_if_empty: boolDelete empty directory remnants after the local peer verifies no object metadata exists.
srdelete_op: SRBucketDeleteOpSite replication delete operation.
Trait Implementations§
Source§impl Clone for DeleteBucketOptions
impl Clone for DeleteBucketOptions
Source§impl Debug for DeleteBucketOptions
impl Debug for DeleteBucketOptions
Source§impl Default for DeleteBucketOptions
impl Default for DeleteBucketOptions
Source§impl<'de> Deserialize<'de> for DeleteBucketOptions
impl<'de> Deserialize<'de> for DeleteBucketOptions
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 DeleteBucketOptions
impl RefUnwindSafe for DeleteBucketOptions
impl Send for DeleteBucketOptions
impl Sync for DeleteBucketOptions
impl Unpin for DeleteBucketOptions
impl UnsafeUnpin for DeleteBucketOptions
impl UnwindSafe for DeleteBucketOptions
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