Struct rusoto_s3::InventoryConfiguration
source · [−]pub struct InventoryConfiguration {
pub destination: InventoryDestination,
pub filter: Option<InventoryFilter>,
pub id: String,
pub included_object_versions: String,
pub is_enabled: bool,
pub optional_fields: Option<Vec<String>>,
pub schedule: 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
destination: InventoryDestination
Contains information about where to publish the inventory results.
filter: Option<InventoryFilter>
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
id: String
The ID used to identify the inventory configuration.
included_object_versions: String
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.
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.
optional_fields: Option<Vec<String>>
Contains the optional fields that are included in the inventory results.
schedule: InventorySchedule
Specifies the schedule for generating inventory results.
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 Default for InventoryConfiguration
impl Default for InventoryConfiguration
sourcefn default() -> InventoryConfiguration
fn default() -> InventoryConfiguration
Returns the “default value” for a type. Read more
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