pub struct CatalogQuerySortedAttribute {
pub attribute_name: String,
pub initial_attribute_value: Option<String>,
pub sort_order: Option<SortOrder>,
}
Expand description
The query expression to specify the key to sort search results.
Fields
attribute_name: String
The attribute whose value is used as the sort key.
Min Length 1
initial_attribute_value: Option<String>
The first attribute value to be returned by the query. Ascending sorts will return only objects with this value or greater, while descending sorts will return only objects with this value or less. If unset, start at the beginning (for ascending sorts) or end (for descending sorts).
sort_order: Option<SortOrder>
The desired sort order, "ASC"
(ascending) or "DESC"
(descending).
Trait Implementations
sourceimpl Clone for CatalogQuerySortedAttribute
impl Clone for CatalogQuerySortedAttribute
sourcefn clone(&self) -> CatalogQuerySortedAttribute
fn clone(&self) -> CatalogQuerySortedAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CatalogQuerySortedAttribute
impl Debug for CatalogQuerySortedAttribute
sourceimpl Default for CatalogQuerySortedAttribute
impl Default for CatalogQuerySortedAttribute
sourcefn default() -> CatalogQuerySortedAttribute
fn default() -> CatalogQuerySortedAttribute
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CatalogQuerySortedAttribute> for CatalogQuerySortedAttribute
impl PartialEq<CatalogQuerySortedAttribute> for CatalogQuerySortedAttribute
sourcefn eq(&self, other: &CatalogQuerySortedAttribute) -> bool
fn eq(&self, other: &CatalogQuerySortedAttribute) -> bool
impl Eq for CatalogQuerySortedAttribute
impl StructuralEq for CatalogQuerySortedAttribute
impl StructuralPartialEq for CatalogQuerySortedAttribute
Auto Trait Implementations
impl RefUnwindSafe for CatalogQuerySortedAttribute
impl Send for CatalogQuerySortedAttribute
impl Sync for CatalogQuerySortedAttribute
impl Unpin for CatalogQuerySortedAttribute
impl UnwindSafe for CatalogQuerySortedAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.