Enum elasticsearch_dsl::search::sort::SortMissing [−][src]
pub enum SortMissing {
First,
Last,
Custom(String),
}Expand description
The missing parameter specifies how docs which are missing the sort field should be treated:
The missing value can be set to _last, _first, or a custom value (that will be used for missing docs as the sort value). The default is _last.
Variants
Sorts missing fields first
Sorts missing field last
Custom(String)Provide a custom scalar value for missing fields
Tuple Fields of Custom
0: StringTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SortMissing
impl Send for SortMissing
impl Sync for SortMissing
impl Unpin for SortMissing
impl UnwindSafe for SortMissing
Blanket Implementations
Mutably borrows from an owned value. Read more