#[non_exhaustive]pub enum OpsisEventKind {
WorldObservation {
summary: String,
},
GaiaCorrelation {
domains: Vec<StateDomain>,
description: String,
confidence: f32,
},
GaiaAnomaly {
domain: StateDomain,
sigma: f32,
description: String,
},
AgentObservation {
insight: String,
confidence: f32,
},
AgentAlert {
message: String,
},
Custom {
event_type: String,
data: Value,
},
}Expand description
What happened — extensible, forward-compatible.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for OpsisEventKind
impl Clone for OpsisEventKind
Source§fn clone(&self) -> OpsisEventKind
fn clone(&self) -> OpsisEventKind
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 OpsisEventKind
impl Debug for OpsisEventKind
Source§impl<'de> Deserialize<'de> for OpsisEventKind
impl<'de> Deserialize<'de> for OpsisEventKind
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 OpsisEventKind
impl RefUnwindSafe for OpsisEventKind
impl Send for OpsisEventKind
impl Sync for OpsisEventKind
impl Unpin for OpsisEventKind
impl UnsafeUnpin for OpsisEventKind
impl UnwindSafe for OpsisEventKind
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