Struct aws_sdk_connect::types::CurrentMetricSortCriteria
source · #[non_exhaustive]pub struct CurrentMetricSortCriteria { /* private fields */ }
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.
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<CurrentMetricSortCriteria> for CurrentMetricSortCriteria
impl PartialEq<CurrentMetricSortCriteria> 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 ==
.