pub struct StateLineDelta {
pub domain: StateDomain,
pub activity: f32,
pub trend: Trend,
pub new_events: Vec<OpsisEvent>,
pub hotspots: Vec<GeoHotspot>,
}Expand description
Changes to a single state line within one tick.
Fields§
§domain: StateDomainWhich domain changed.
activity: f32New activity level after this tick.
trend: TrendNew trend after this tick.
new_events: Vec<OpsisEvent>Events ingested this tick (top-K by severity).
hotspots: Vec<GeoHotspot>Updated hotspot list.
Trait Implementations§
Source§impl Clone for StateLineDelta
impl Clone for StateLineDelta
Source§fn clone(&self) -> StateLineDelta
fn clone(&self) -> StateLineDelta
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 StateLineDelta
impl Debug for StateLineDelta
Source§impl<'de> Deserialize<'de> for StateLineDelta
impl<'de> Deserialize<'de> for StateLineDelta
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 StateLineDelta
impl RefUnwindSafe for StateLineDelta
impl Send for StateLineDelta
impl Sync for StateLineDelta
impl Unpin for StateLineDelta
impl UnsafeUnpin for StateLineDelta
impl UnwindSafe for StateLineDelta
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