pub struct RememberOutcome {
pub id: FactId,
pub entity: Option<EntityId>,
pub similar: Vec<Similar>,
}Expand description
Result of remember/revise.
Fields§
§id: FactIdThe new fact’s id.
entity: Option<EntityId>The subject entity (resolved or created), if one was named.
similar: Vec<Similar>Similar / potentially conflicting live facts, best match
first (≤ 8). The engine never revises on its own — it surfaces
the candidates, the agent judges: revise, keep both, or
forget.
Trait Implementations§
Source§impl Clone for RememberOutcome
impl Clone for RememberOutcome
Source§fn clone(&self) -> RememberOutcome
fn clone(&self) -> RememberOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RememberOutcome
impl Debug for RememberOutcome
Source§impl PartialEq for RememberOutcome
impl PartialEq for RememberOutcome
impl StructuralPartialEq for RememberOutcome
Auto Trait Implementations§
impl Freeze for RememberOutcome
impl RefUnwindSafe for RememberOutcome
impl Send for RememberOutcome
impl Sync for RememberOutcome
impl Unpin for RememberOutcome
impl UnsafeUnpin for RememberOutcome
impl UnwindSafe for RememberOutcome
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