Enum elasticsearch_dsl::search::sort::SortOrder [−][src]
pub enum SortOrder {
Asc,
Desc,
}
Expand description
The order defaults to desc
when sorting on the _score
, and defaults to asc
when sorting on anything else.
https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html#_sort_order
Variants
Asc
Sort in ascending order
Desc
Sort in descending order
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SortOrder
impl UnwindSafe for SortOrder
Blanket Implementations
Mutably borrows from an owned value. Read more