pub struct GeoEventResult {
pub event: Value,
pub coordinate: Coordinate,
pub distance_km: Option<f64>,
}Expand description
A geo-enriched event result
Fields§
§event: Value§coordinate: Coordinate§distance_km: Option<f64>Distance from query center in km (only set for radius queries)
Trait Implementations§
Source§impl Clone for GeoEventResult
impl Clone for GeoEventResult
Source§fn clone(&self) -> GeoEventResult
fn clone(&self) -> GeoEventResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeoEventResult
impl Debug for GeoEventResult
Auto Trait Implementations§
impl Freeze for GeoEventResult
impl RefUnwindSafe for GeoEventResult
impl Send for GeoEventResult
impl Sync for GeoEventResult
impl Unpin for GeoEventResult
impl UnsafeUnpin for GeoEventResult
impl UnwindSafe for GeoEventResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more