pub struct LoopPattern {
pub repeating_actions: Vec<String>,
pub trigger: String,
pub expected_outcome: String,
pub actual_outcome: String,
pub similarity_score: f64,
}Expand description
The repeating pattern within a time loop.
Fields§
§repeating_actions: Vec<String>Actions that repeat.
trigger: StringWhat triggers each iteration.
expected_outcome: StringExpected outcome (never achieved).
actual_outcome: StringActual outcome (repeated).
similarity_score: f64Similarity score for detection (0.0-1.0).
Trait Implementations§
Source§impl Clone for LoopPattern
impl Clone for LoopPattern
Source§fn clone(&self) -> LoopPattern
fn clone(&self) -> LoopPattern
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 LoopPattern
impl Debug for LoopPattern
Source§impl<'de> Deserialize<'de> for LoopPattern
impl<'de> Deserialize<'de> for LoopPattern
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 LoopPattern
impl RefUnwindSafe for LoopPattern
impl Send for LoopPattern
impl Sync for LoopPattern
impl Unpin for LoopPattern
impl UnsafeUnpin for LoopPattern
impl UnwindSafe for LoopPattern
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