pub enum InferredAction {
FlagContradiction {
existing: MemoryId,
new: MemoryId,
reason: String,
},
MarkObsolete {
memory: MemoryId,
superseded_by: MemoryId,
},
CreateEdge {
source: MemoryId,
target: MemoryId,
edge_type: EdgeType,
weight: f32,
},
UpdateConfidence {
memory: MemoryId,
new_confidence: f32,
},
PropagateBeliefChange {
root: MemoryId,
delta: f32,
},
}Variants§
Trait Implementations§
Source§impl Clone for InferredAction
impl Clone for InferredAction
Source§fn clone(&self) -> InferredAction
fn clone(&self) -> InferredAction
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 moreAuto Trait Implementations§
impl Freeze for InferredAction
impl RefUnwindSafe for InferredAction
impl Send for InferredAction
impl Sync for InferredAction
impl Unpin for InferredAction
impl UnsafeUnpin for InferredAction
impl UnwindSafe for InferredAction
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