[][src]Struct rusoto_s3::CreateBucketRequest

pub struct CreateBucketRequest {
    pub acl: Option<String>,
    pub bucket: String,
    pub create_bucket_configuration: Option<CreateBucketConfiguration>,
    pub grant_full_control: Option<String>,
    pub grant_read: Option<String>,
    pub grant_read_acp: Option<String>,
    pub grant_write: Option<String>,
    pub grant_write_acp: Option<String>,
    pub object_lock_enabled_for_bucket: Option<bool>,
}

Fields

acl: Option<String>

The canned ACL to apply to the bucket.

bucket: String

create_bucket_configuration: Option<CreateBucketConfiguration>

grant_full_control: Option<String>

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

grant_read: Option<String>

Allows grantee to list the objects in the bucket.

grant_read_acp: Option<String>

Allows grantee to read the bucket ACL.

grant_write: Option<String>

Allows grantee to create, overwrite, and delete any object in the bucket.

grant_write_acp: Option<String>

Allows grantee to write the ACL for the applicable bucket.

object_lock_enabled_for_bucket: Option<bool>

Specifies whether you want Amazon S3 object lock to be enabled for the new bucket.

Trait Implementations

impl PartialEq<CreateBucketRequest> for CreateBucketRequest[src]

impl Default for CreateBucketRequest[src]

impl Clone for CreateBucketRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CreateBucketRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T