pub struct CreateBucketOptions {
pub region: Option<String>,
pub versioning_enabled: bool,
pub object_lock_enabled: bool,
}Expand description
Requested behavior for bucket creation.
Fields§
§region: Option<String>Explicit S3 location constraint. None omits the request body.
versioning_enabled: boolWhether the resulting bucket must have versioning enabled.
object_lock_enabled: boolWhether Object Lock must be enabled in the create request.
Implementations§
Trait Implementations§
Source§impl Clone for CreateBucketOptions
impl Clone for CreateBucketOptions
Source§fn clone(&self) -> CreateBucketOptions
fn clone(&self) -> CreateBucketOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateBucketOptions
impl Debug for CreateBucketOptions
Source§impl Default for CreateBucketOptions
impl Default for CreateBucketOptions
Source§fn default() -> CreateBucketOptions
fn default() -> CreateBucketOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateBucketOptions
impl<'de> Deserialize<'de> for CreateBucketOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CreateBucketOptions
Source§impl PartialEq for CreateBucketOptions
impl PartialEq for CreateBucketOptions
Source§impl Serialize for CreateBucketOptions
impl Serialize for CreateBucketOptions
impl StructuralPartialEq for CreateBucketOptions
Auto Trait Implementations§
impl Freeze for CreateBucketOptions
impl RefUnwindSafe for CreateBucketOptions
impl Send for CreateBucketOptions
impl Sync for CreateBucketOptions
impl Unpin for CreateBucketOptions
impl UnsafeUnpin for CreateBucketOptions
impl UnwindSafe for CreateBucketOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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