pub struct CreateBucketInput {
pub acl: Option<BucketCannedACL>,
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>,
pub object_ownership: Option<ObjectOwnership>,
}Expand description
S3 CreateBucketInput.
Fields§
§acl: Option<BucketCannedACL>HTTP header: x-amz-acl.
bucket: StringHTTP label (URI path).
create_bucket_configuration: Option<CreateBucketConfiguration>HTTP payload body.
grant_full_control: Option<String>HTTP header: x-amz-grant-full-control.
grant_read: Option<String>HTTP header: x-amz-grant-read.
grant_read_acp: Option<String>HTTP header: x-amz-grant-read-acp.
grant_write: Option<String>HTTP header: x-amz-grant-write.
grant_write_acp: Option<String>HTTP header: x-amz-grant-write-acp.
object_lock_enabled_for_bucket: Option<bool>HTTP header: x-amz-bucket-object-lock-enabled.
object_ownership: Option<ObjectOwnership>HTTP header: x-amz-object-ownership.
Trait Implementations§
Source§impl Clone for CreateBucketInput
impl Clone for CreateBucketInput
Source§fn clone(&self) -> CreateBucketInput
fn clone(&self) -> CreateBucketInput
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 Debug for CreateBucketInput
impl Debug for CreateBucketInput
Source§impl Default for CreateBucketInput
impl Default for CreateBucketInput
Source§fn default() -> CreateBucketInput
fn default() -> CreateBucketInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateBucketInput
impl RefUnwindSafe for CreateBucketInput
impl Send for CreateBucketInput
impl Sync for CreateBucketInput
impl Unpin for CreateBucketInput
impl UnsafeUnpin for CreateBucketInput
impl UnwindSafe for CreateBucketInput
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