Enum elasticsearch_dsl::search::sort::SortSpecialField
source · [−]pub enum SortSpecialField {
Score,
DocumentIndexOrder,
ShardDocumentOrder,
}
Expand description
Special sorting field variants
Variants
Score
Document score
DocumentIndexOrder
The most efficient way to sort, does not guarantee any order, useful for scrolling
ShardDocumentOrder
Sorts by shard doc value, useful for PIT queries
Trait Implementations
sourceimpl Clone for SortSpecialField
impl Clone for SortSpecialField
sourcefn clone(&self) -> SortSpecialField
fn clone(&self) -> SortSpecialField
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 more
sourceimpl Debug for SortSpecialField
impl Debug for SortSpecialField
sourceimpl From<SortSpecialField> for Sort
impl From<SortSpecialField> for Sort
sourcefn from(value: SortSpecialField) -> Self
fn from(value: SortSpecialField) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SortSpecialField> for SortSpecialField
impl PartialEq<SortSpecialField> for SortSpecialField
sourceimpl Serialize for SortSpecialField
impl Serialize for SortSpecialField
sourceimpl ToString for SortSpecialField
impl ToString for SortSpecialField
impl Copy for SortSpecialField
impl StructuralPartialEq for SortSpecialField
Auto Trait Implementations
impl RefUnwindSafe for SortSpecialField
impl Send for SortSpecialField
impl Sync for SortSpecialField
impl Unpin for SortSpecialField
impl UnwindSafe for SortSpecialField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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