Struct aws_sdk_macie2::types::ObjectLevelStatistics
source · #[non_exhaustive]pub struct ObjectLevelStatistics {
pub file_type: Option<i64>,
pub storage_class: Option<i64>,
pub total: Option<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 all the buckets in the query results. If versioning is enabled for a bucket, 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: Option<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: Option<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: Option<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§
source§impl ObjectLevelStatistics
impl ObjectLevelStatistics
sourcepub fn file_type(&self) -> Option<i64>
pub fn file_type(&self) -> Option<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) -> Option<i64>
pub fn storage_class(&self) -> Option<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.
source§impl ObjectLevelStatistics
impl ObjectLevelStatistics
sourcepub fn builder() -> ObjectLevelStatisticsBuilder
pub fn builder() -> ObjectLevelStatisticsBuilder
Creates a new builder-style object to manufacture ObjectLevelStatistics.
Trait Implementations§
source§impl Clone for ObjectLevelStatistics
impl Clone for ObjectLevelStatistics
source§fn clone(&self) -> ObjectLevelStatistics
fn clone(&self) -> ObjectLevelStatistics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ObjectLevelStatistics
impl Debug for ObjectLevelStatistics
source§impl PartialEq for ObjectLevelStatistics
impl PartialEq for ObjectLevelStatistics
impl StructuralPartialEq for ObjectLevelStatistics
Auto Trait Implementations§
impl Freeze for ObjectLevelStatistics
impl RefUnwindSafe for ObjectLevelStatistics
impl Send for ObjectLevelStatistics
impl Sync for ObjectLevelStatistics
impl Unpin for ObjectLevelStatistics
impl UnwindSafe for ObjectLevelStatistics
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more