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§
Source§impl Clone for CatalogQuerySortedAttribute
impl Clone for CatalogQuerySortedAttribute
Source§fn clone(&self) -> CatalogQuerySortedAttribute
fn clone(&self) -> CatalogQuerySortedAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CatalogQuerySortedAttribute
impl Debug for CatalogQuerySortedAttribute
Source§impl Default for CatalogQuerySortedAttribute
impl Default for CatalogQuerySortedAttribute
Source§fn default() -> CatalogQuerySortedAttribute
fn default() -> CatalogQuerySortedAttribute
Returns the “default value” for a type. Read more
impl Eq for CatalogQuerySortedAttribute
impl StructuralPartialEq for CatalogQuerySortedAttribute
Auto Trait Implementations§
impl Freeze for CatalogQuerySortedAttribute
impl RefUnwindSafe for CatalogQuerySortedAttribute
impl Send for CatalogQuerySortedAttribute
impl Sync for CatalogQuerySortedAttribute
impl Unpin for CatalogQuerySortedAttribute
impl UnwindSafe for CatalogQuerySortedAttribute
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.