pub struct Sort(_);
Expand description
Sorts search hits by other field values
Implementations
sourceimpl Sort
impl Sort
sourcepub fn unmapped_type(self, unmapped_type: impl Into<String>) -> Self
pub fn unmapped_type(self, unmapped_type: impl Into<String>) -> Self
Fallback type if mapping is not defined
sourcepub fn missing(self, missing: impl Into<SortMissing>) -> Self
pub fn missing(self, missing: impl Into<SortMissing>) -> Self
The missing parameter specifies how docs which are missing the sort field should be treated
Trait Implementations
impl Eq for Sort
impl StructuralEq for Sort
impl StructuralPartialEq for Sort
Auto Trait Implementations
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
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