pub struct CreateBucket<'a> { /* private fields */ }Expand description
Create a new bucket.
Find out more about CreateBucket from the AWS API Reference
Implementations§
Source§impl<'a> CreateBucket<'a>
impl<'a> CreateBucket<'a>
pub const fn new(bucket: &'a Bucket, credentials: &'a Credentials) -> Self
Trait Implementations§
Source§impl<'a> Clone for CreateBucket<'a>
impl<'a> Clone for CreateBucket<'a>
Source§fn clone(&self) -> CreateBucket<'a>
fn clone(&self) -> CreateBucket<'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 CreateBucket<'a>
impl<'a> Debug for CreateBucket<'a>
Source§impl<'a> S3Action<'a> for CreateBucket<'a>
impl<'a> S3Action<'a> for CreateBucket<'a>
const METHOD: Method = Method::Put
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 CreateBucket<'a>
impl<'a> RefUnwindSafe for CreateBucket<'a>
impl<'a> Send for CreateBucket<'a>
impl<'a> Sync for CreateBucket<'a>
impl<'a> Unpin for CreateBucket<'a>
impl<'a> UnwindSafe for CreateBucket<'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