Struct aws_sdk_s3::types::BucketLifecycleConfiguration
source · #[non_exhaustive]pub struct BucketLifecycleConfiguration {
pub rules: Vec<LifecycleRule>,
}
Expand description
Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see Object Lifecycle Management in the Amazon S3 User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rules: Vec<LifecycleRule>
A lifecycle rule for individual objects in an Amazon S3 bucket.
Implementations§
source§impl BucketLifecycleConfiguration
impl BucketLifecycleConfiguration
sourcepub fn rules(&self) -> &[LifecycleRule]
pub fn rules(&self) -> &[LifecycleRule]
A lifecycle rule for individual objects in an Amazon S3 bucket.
source§impl BucketLifecycleConfiguration
impl BucketLifecycleConfiguration
sourcepub fn builder() -> BucketLifecycleConfigurationBuilder
pub fn builder() -> BucketLifecycleConfigurationBuilder
Creates a new builder-style object to manufacture BucketLifecycleConfiguration
.
Trait Implementations§
source§impl Clone for BucketLifecycleConfiguration
impl Clone for BucketLifecycleConfiguration
source§fn clone(&self) -> BucketLifecycleConfiguration
fn clone(&self) -> BucketLifecycleConfiguration
Returns a copy 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 BucketLifecycleConfiguration
impl Debug for BucketLifecycleConfiguration
source§impl PartialEq for BucketLifecycleConfiguration
impl PartialEq for BucketLifecycleConfiguration
source§fn eq(&self, other: &BucketLifecycleConfiguration) -> bool
fn eq(&self, other: &BucketLifecycleConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BucketLifecycleConfiguration
Auto Trait Implementations§
impl Freeze for BucketLifecycleConfiguration
impl RefUnwindSafe for BucketLifecycleConfiguration
impl Send for BucketLifecycleConfiguration
impl Sync for BucketLifecycleConfiguration
impl Unpin for BucketLifecycleConfiguration
impl UnwindSafe for BucketLifecycleConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.