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
sourceimpl<'a> CreateBucket<'a>
impl<'a> CreateBucket<'a>
pub fn new(bucket: &'a Bucket, credentials: &'a Credentials) -> Self
Trait Implementations
sourceimpl<'a> Clone for CreateBucket<'a>
impl<'a> Clone for CreateBucket<'a>
sourcefn clone(&self) -> CreateBucket<'a>
fn clone(&self) -> CreateBucket<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for CreateBucket<'a>
impl<'a> Debug for CreateBucket<'a>
sourceimpl<'a> S3Action<'a> for CreateBucket<'a>
impl<'a> S3Action<'a> for CreateBucket<'a>
const METHOD: Method = Method::Put
sourcefn 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
sourcefn 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
sourcefn 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 Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more