pub struct DeleteBucket<'a> { /* private fields */ }Expand description
Delete a bucket.
The bucket must be empty before it can be deleted.
Find out more about DeleteBucket from the AWS API Reference
Implementations§
Source§impl<'a> DeleteBucket<'a>
impl<'a> DeleteBucket<'a>
pub const fn new(bucket: &'a Bucket, credentials: &'a Credentials) -> Self
Trait Implementations§
Source§impl<'a> Clone for DeleteBucket<'a>
impl<'a> Clone for DeleteBucket<'a>
Source§fn clone(&self) -> DeleteBucket<'a>
fn clone(&self) -> DeleteBucket<'a>
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 moreSource§impl<'a> Debug for DeleteBucket<'a>
impl<'a> Debug for DeleteBucket<'a>
Source§impl<'a> S3Action<'a> for DeleteBucket<'a>
impl<'a> S3Action<'a> for DeleteBucket<'a>
const METHOD: Method = Method::Delete
Source§fn query_mut(&mut self) -> &mut Map<'a>
fn query_mut(&mut self) -> &mut Map<'a>
Get a mutable reference to the query string of this action
Source§fn headers_mut(&mut self) -> &mut Map<'a>
fn headers_mut(&mut self) -> &mut Map<'a>
Get a mutable reference to the signed headers of this action Read more
Auto Trait Implementations§
impl<'a> Freeze for DeleteBucket<'a>
impl<'a> RefUnwindSafe for DeleteBucket<'a>
impl<'a> Send for DeleteBucket<'a>
impl<'a> Sync for DeleteBucket<'a>
impl<'a> Unpin for DeleteBucket<'a>
impl<'a> UnwindSafe for DeleteBucket<'a>
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