Struct rusty_s3::actions::CreateBucket
source · 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 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 copy 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
source§fn sign_with_time(&self, expires_in: Duration, time: &OffsetDateTime) -> Url
fn sign_with_time(&self, expires_in: Duration, time: &OffsetDateTime) -> Url
Takes the time at which the URL should be signed
Used for testing purposes
Auto Trait Implementations§
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