pub struct GeoHotspot {
pub center: GeoPoint,
pub radius_km: f32,
pub intensity: f32,
pub event_count: u32,
}Expand description
A geographic hotspot — a concentration of events around a center.
Fields§
§center: GeoPointCenter of the hotspot.
radius_km: f32Radius in kilometres.
intensity: f32Normalised intensity (0.0–1.0).
event_count: u32Number of events that contributed to this hotspot.
Trait Implementations§
Source§impl Clone for GeoHotspot
impl Clone for GeoHotspot
Source§fn clone(&self) -> GeoHotspot
fn clone(&self) -> GeoHotspot
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 GeoHotspot
impl Debug for GeoHotspot
Source§impl<'de> Deserialize<'de> for GeoHotspot
impl<'de> Deserialize<'de> for GeoHotspot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GeoHotspot
impl RefUnwindSafe for GeoHotspot
impl Send for GeoHotspot
impl Sync for GeoHotspot
impl Unpin for GeoHotspot
impl UnsafeUnpin for GeoHotspot
impl UnwindSafe for GeoHotspot
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