Struct rustis::commands::GeoSearchResult
source · pub struct GeoSearchResult<M>where
M: FromSingleValue,{
pub member: M,
pub distance: Option<f64>,
pub geo_hash: Option<i64>,
pub coordinates: Option<(f64, f64)>,
}Expand description
Result of the geosearch command.
Fields§
§member: MThe matched member.
distance: Option<f64>The distance of the matched member from the specified center.
geo_hash: Option<i64>The geohash integer of the matched member
coordinates: Option<(f64, f64)>The coordinates (longitude, latitude) of the matched member