Struct aws_sdk_s3::model::InventoryConfiguration
source · [−]#[non_exhaustive]pub struct InventoryConfiguration {
pub destination: Option<InventoryDestination>,
pub is_enabled: bool,
pub filter: Option<InventoryFilter>,
pub id: Option<String>,
pub included_object_versions: Option<InventoryIncludedObjectVersions>,
pub optional_fields: Option<Vec<InventoryOptionalField>>,
pub schedule: Option<InventorySchedule>,
}
Expand description
Specifies the inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.destination: Option<InventoryDestination>
Contains information about where to publish the inventory results.
is_enabled: bool
Specifies whether the inventory is enabled or disabled. If set to True
, an inventory list is generated. If set to False
, no inventory list is generated.
filter: Option<InventoryFilter>
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
id: Option<String>
The ID used to identify the inventory configuration.
included_object_versions: Option<InventoryIncludedObjectVersions>
Object versions to include in the inventory list. If set to All
, the list includes all the object versions, which adds the version-related fields VersionId
, IsLatest
, and DeleteMarker
to the list. If set to Current
, the list does not contain these version-related fields.
optional_fields: Option<Vec<InventoryOptionalField>>
Contains the optional fields that are included in the inventory results.
schedule: Option<InventorySchedule>
Specifies the schedule for generating inventory results.
Implementations
sourceimpl InventoryConfiguration
impl InventoryConfiguration
sourcepub fn destination(&self) -> Option<&InventoryDestination>
pub fn destination(&self) -> Option<&InventoryDestination>
Contains information about where to publish the inventory results.
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Specifies whether the inventory is enabled or disabled. If set to True
, an inventory list is generated. If set to False
, no inventory list is generated.
sourcepub fn filter(&self) -> Option<&InventoryFilter>
pub fn filter(&self) -> Option<&InventoryFilter>
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
sourcepub fn included_object_versions(
&self
) -> Option<&InventoryIncludedObjectVersions>
pub fn included_object_versions(
&self
) -> Option<&InventoryIncludedObjectVersions>
Object versions to include in the inventory list. If set to All
, the list includes all the object versions, which adds the version-related fields VersionId
, IsLatest
, and DeleteMarker
to the list. If set to Current
, the list does not contain these version-related fields.
sourcepub fn optional_fields(&self) -> Option<&[InventoryOptionalField]>
pub fn optional_fields(&self) -> Option<&[InventoryOptionalField]>
Contains the optional fields that are included in the inventory results.
sourcepub fn schedule(&self) -> Option<&InventorySchedule>
pub fn schedule(&self) -> Option<&InventorySchedule>
Specifies the schedule for generating inventory results.
sourceimpl InventoryConfiguration
impl InventoryConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryConfiguration
Trait Implementations
sourceimpl Clone for InventoryConfiguration
impl Clone for InventoryConfiguration
sourcefn clone(&self) -> InventoryConfiguration
fn clone(&self) -> InventoryConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InventoryConfiguration
impl Debug for InventoryConfiguration
sourceimpl PartialEq<InventoryConfiguration> for InventoryConfiguration
impl PartialEq<InventoryConfiguration> for InventoryConfiguration
sourcefn eq(&self, other: &InventoryConfiguration) -> bool
fn eq(&self, other: &InventoryConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InventoryConfiguration) -> bool
fn ne(&self, other: &InventoryConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for InventoryConfiguration
Auto Trait Implementations
impl RefUnwindSafe for InventoryConfiguration
impl Send for InventoryConfiguration
impl Sync for InventoryConfiguration
impl Unpin for InventoryConfiguration
impl UnwindSafe for InventoryConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more