[][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: Stringcreate_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 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, U> Into for T where
    U: From<T>, 
[src]

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self