Struct aws_sdk_s3control::types::SelectionCriteria
source · #[non_exhaustive]pub struct SelectionCriteria {
pub delimiter: Option<String>,
pub max_depth: Option<i32>,
pub min_storage_bytes_percentage: Option<f64>,
}
Expand description
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.delimiter: Option<String>
A container for the delimiter of the selection criteria being used.
max_depth: Option<i32>
The max depth of the selection criteria
min_storage_bytes_percentage: Option<f64>
The minimum number of storage bytes percentage whose metrics will be selected.
You must choose a value greater than or equal to 1.0
.
Implementations§
source§impl SelectionCriteria
impl SelectionCriteria
sourcepub fn delimiter(&self) -> Option<&str>
pub fn delimiter(&self) -> Option<&str>
A container for the delimiter of the selection criteria being used.
sourcepub fn min_storage_bytes_percentage(&self) -> Option<f64>
pub fn min_storage_bytes_percentage(&self) -> Option<f64>
The minimum number of storage bytes percentage whose metrics will be selected.
You must choose a value greater than or equal to 1.0
.
source§impl SelectionCriteria
impl SelectionCriteria
sourcepub fn builder() -> SelectionCriteriaBuilder
pub fn builder() -> SelectionCriteriaBuilder
Creates a new builder-style object to manufacture SelectionCriteria
.
Trait Implementations§
source§impl Clone for SelectionCriteria
impl Clone for SelectionCriteria
source§fn clone(&self) -> SelectionCriteria
fn clone(&self) -> SelectionCriteria
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 SelectionCriteria
impl Debug for SelectionCriteria
source§impl PartialEq for SelectionCriteria
impl PartialEq for SelectionCriteria
source§fn eq(&self, other: &SelectionCriteria) -> bool
fn eq(&self, other: &SelectionCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelectionCriteria
Auto Trait Implementations§
impl Freeze for SelectionCriteria
impl RefUnwindSafe for SelectionCriteria
impl Send for SelectionCriteria
impl Sync for SelectionCriteria
impl Unpin for SelectionCriteria
impl UnwindSafe for SelectionCriteria
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> 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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.