Struct aws_sdk_macie2::model::ObjectLevelStatistics
source · [−]#[non_exhaustive]pub struct ObjectLevelStatistics {
pub file_type: i64,
pub storage_class: i64,
pub total: i64,
}
Expand description
Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for the buckets in the query results. If versioning is enabled for a bucket, total storage size values are based on the size of the latest version of each applicable object in the bucket.
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.file_type: i64
The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects don't have a file name extension for a supported file or storage format.
storage_class: i64
The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.
total: i64
The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.
Implementations
sourceimpl ObjectLevelStatistics
impl ObjectLevelStatistics
sourcepub fn file_type(&self) -> i64
pub fn file_type(&self) -> i64
The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects don't have a file name extension for a supported file or storage format.
sourcepub fn storage_class(&self) -> i64
pub fn storage_class(&self) -> i64
The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.
sourceimpl ObjectLevelStatistics
impl ObjectLevelStatistics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ObjectLevelStatistics
Trait Implementations
sourceimpl Clone for ObjectLevelStatistics
impl Clone for ObjectLevelStatistics
sourcefn clone(&self) -> ObjectLevelStatistics
fn clone(&self) -> ObjectLevelStatistics
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 ObjectLevelStatistics
impl Debug for ObjectLevelStatistics
sourceimpl PartialEq<ObjectLevelStatistics> for ObjectLevelStatistics
impl PartialEq<ObjectLevelStatistics> for ObjectLevelStatistics
sourcefn eq(&self, other: &ObjectLevelStatistics) -> bool
fn eq(&self, other: &ObjectLevelStatistics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObjectLevelStatistics) -> bool
fn ne(&self, other: &ObjectLevelStatistics) -> bool
This method tests for !=
.
impl StructuralPartialEq for ObjectLevelStatistics
Auto Trait Implementations
impl RefUnwindSafe for ObjectLevelStatistics
impl Send for ObjectLevelStatistics
impl Sync for ObjectLevelStatistics
impl Unpin for ObjectLevelStatistics
impl UnwindSafe for ObjectLevelStatistics
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