Struct aws_sdk_route53domains::types::SortCondition
source · #[non_exhaustive]pub struct SortCondition {
pub name: ListDomainsAttributeName,
pub sort_order: SortOrder,
}
Expand description
Information for sorting a list of domains.
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.name: ListDomainsAttributeName
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note that if filterCondition
is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.
sort_order: SortOrder
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
Implementations§
source§impl SortCondition
impl SortCondition
sourcepub fn name(&self) -> &ListDomainsAttributeName
pub fn name(&self) -> &ListDomainsAttributeName
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note that if filterCondition
is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.
sourcepub fn sort_order(&self) -> &SortOrder
pub fn sort_order(&self) -> &SortOrder
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
source§impl SortCondition
impl SortCondition
sourcepub fn builder() -> SortConditionBuilder
pub fn builder() -> SortConditionBuilder
Creates a new builder-style object to manufacture SortCondition
.
Trait Implementations§
source§impl Clone for SortCondition
impl Clone for SortCondition
source§fn clone(&self) -> SortCondition
fn clone(&self) -> SortCondition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SortCondition
impl Debug for SortCondition
source§impl PartialEq for SortCondition
impl PartialEq for SortCondition
source§fn eq(&self, other: &SortCondition) -> bool
fn eq(&self, other: &SortCondition) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SortCondition
Auto Trait Implementations§
impl Freeze for SortCondition
impl RefUnwindSafe for SortCondition
impl Send for SortCondition
impl Sync for SortCondition
impl Unpin for SortCondition
impl UnwindSafe for SortCondition
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> 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