Struct aws_sdk_connect::types::CurrentMetricSortCriteria
source · #[non_exhaustive]pub struct CurrentMetricSortCriteria {
pub sort_by_metric: Option<CurrentMetricName>,
pub sort_order: Option<SortOrder>,
}
Expand description
The way to sort the resulting response based on metrics. By default resources are sorted based on AGENTS_ONLINE
, DESCENDING
. The metric collection is sorted based on the input metrics.
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.sort_by_metric: Option<CurrentMetricName>
The current metric names.
sort_order: Option<SortOrder>
The way to sort.
Implementations§
source§impl CurrentMetricSortCriteria
impl CurrentMetricSortCriteria
sourcepub fn sort_by_metric(&self) -> Option<&CurrentMetricName>
pub fn sort_by_metric(&self) -> Option<&CurrentMetricName>
The current metric names.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
The way to sort.
source§impl CurrentMetricSortCriteria
impl CurrentMetricSortCriteria
sourcepub fn builder() -> CurrentMetricSortCriteriaBuilder
pub fn builder() -> CurrentMetricSortCriteriaBuilder
Creates a new builder-style object to manufacture CurrentMetricSortCriteria
.
Trait Implementations§
source§impl Clone for CurrentMetricSortCriteria
impl Clone for CurrentMetricSortCriteria
source§fn clone(&self) -> CurrentMetricSortCriteria
fn clone(&self) -> CurrentMetricSortCriteria
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 CurrentMetricSortCriteria
impl Debug for CurrentMetricSortCriteria
source§impl PartialEq for CurrentMetricSortCriteria
impl PartialEq for CurrentMetricSortCriteria
source§fn eq(&self, other: &CurrentMetricSortCriteria) -> bool
fn eq(&self, other: &CurrentMetricSortCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CurrentMetricSortCriteria
Auto Trait Implementations§
impl RefUnwindSafe for CurrentMetricSortCriteria
impl Send for CurrentMetricSortCriteria
impl Sync for CurrentMetricSortCriteria
impl Unpin for CurrentMetricSortCriteria
impl UnwindSafe for CurrentMetricSortCriteria
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>
Creates a shared type from an unshared type.