pub struct CausalPattern {
pub description: String,
pub occurrences: u32,
pub severity: f64,
}Expand description
A recurring causal pattern.
Fields§
§description: StringDescription of the pattern.
occurrences: u32How many times this pattern has occurred.
severity: f64Severity of this pattern (0.0-1.0).
Trait Implementations§
Source§impl Clone for CausalPattern
impl Clone for CausalPattern
Source§fn clone(&self) -> CausalPattern
fn clone(&self) -> CausalPattern
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 CausalPattern
impl Debug for CausalPattern
Source§impl<'de> Deserialize<'de> for CausalPattern
impl<'de> Deserialize<'de> for CausalPattern
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 CausalPattern
impl RefUnwindSafe for CausalPattern
impl Send for CausalPattern
impl Sync for CausalPattern
impl Unpin for CausalPattern
impl UnsafeUnpin for CausalPattern
impl UnwindSafe for CausalPattern
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