Enum redis_driver::GeoSearchOrder
source · pub enum GeoSearchOrder {
Asc,
Desc,
}
Expand description
Matching items are returned unsorted by default. To sort them, use one of the following two options:
Variants
Asc
Sort returned items from the nearest to the farthest, relative to the center point.
Desc
Sort returned items from the farthest to the nearest, relative to the center point.
Trait Implementations
sourceimpl IntoArgs for GeoSearchOrder
impl IntoArgs for GeoSearchOrder
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for GeoSearchOrder
impl Send for GeoSearchOrder
impl Sync for GeoSearchOrder
impl Unpin for GeoSearchOrder
impl UnwindSafe for GeoSearchOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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