Enum rustis::commands::GeoSearchFrom
source · pub enum GeoSearchFrom<M>where
M: SingleArg,{
FromMember {
member: M,
},
FromLonLat {
longitude: f64,
latitude: f64,
},
}Expand description
The query’s center point is provided by one of these mandatory options:
Variants§
FromMember
Fields
§
member: MUse the position of the given existing member in the sorted set.
FromLonLat
Use the given longitude and latitude position.