#[non_exhaustive]pub struct CurrentMetricSortCriteriaBuilder { /* private fields */ }
Expand description
A builder for CurrentMetricSortCriteria
.
Implementations§
source§impl CurrentMetricSortCriteriaBuilder
impl CurrentMetricSortCriteriaBuilder
sourcepub fn sort_by_metric(self, input: CurrentMetricName) -> Self
pub fn sort_by_metric(self, input: CurrentMetricName) -> Self
The current metric names.
sourcepub fn set_sort_by_metric(self, input: Option<CurrentMetricName>) -> Self
pub fn set_sort_by_metric(self, input: Option<CurrentMetricName>) -> Self
The current metric names.
sourcepub fn get_sort_by_metric(&self) -> &Option<CurrentMetricName>
pub fn get_sort_by_metric(&self) -> &Option<CurrentMetricName>
The current metric names.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The way to sort.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The way to sort.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
The way to sort.
sourcepub fn build(self) -> CurrentMetricSortCriteria
pub fn build(self) -> CurrentMetricSortCriteria
Consumes the builder and constructs a CurrentMetricSortCriteria
.
Trait Implementations§
source§impl Clone for CurrentMetricSortCriteriaBuilder
impl Clone for CurrentMetricSortCriteriaBuilder
source§fn clone(&self) -> CurrentMetricSortCriteriaBuilder
fn clone(&self) -> CurrentMetricSortCriteriaBuilder
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 Default for CurrentMetricSortCriteriaBuilder
impl Default for CurrentMetricSortCriteriaBuilder
source§fn default() -> CurrentMetricSortCriteriaBuilder
fn default() -> CurrentMetricSortCriteriaBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CurrentMetricSortCriteriaBuilder
impl PartialEq for CurrentMetricSortCriteriaBuilder
source§fn eq(&self, other: &CurrentMetricSortCriteriaBuilder) -> bool
fn eq(&self, other: &CurrentMetricSortCriteriaBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CurrentMetricSortCriteriaBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CurrentMetricSortCriteriaBuilder
impl Send for CurrentMetricSortCriteriaBuilder
impl Sync for CurrentMetricSortCriteriaBuilder
impl Unpin for CurrentMetricSortCriteriaBuilder
impl UnwindSafe for CurrentMetricSortCriteriaBuilder
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.