pub struct CapturedFact {
pub candidate: CaptureCandidate,
pub refs: Vec<String>,
pub category: String,
pub key: String,
pub value: String,
pub derived_from: Vec<String>,
pub session: Option<String>,
}Expand description
A fact the gate let through, with its valid references and where it
came from in the local store (for own_sources, never shared).
Fields§
§candidate: CaptureCandidate§refs: Vec<String>§category: String§key: String§value: String§derived_from: Vec<String>Live vault nodes the fact names itself (node:<id> references,
derived::link); each becomes a derived_from edge next to the
fact’s node.add when the claim body carries the reference.
session: Option<String>V9: the local engine session the fact was learned in. It stays on
this machine: its events carry only the keyed ref
(crate::session_ref::SessionRefs::event_ref), and only when Cloud
accepts it; None for imports and facts without a session.
Trait Implementations§
Source§impl Clone for CapturedFact
impl Clone for CapturedFact
Source§impl Debug for CapturedFact
impl Debug for CapturedFact
impl Eq for CapturedFact
Source§impl PartialEq for CapturedFact
impl PartialEq for CapturedFact
impl StructuralPartialEq for CapturedFact
Auto Trait Implementations§
impl Forget for CapturedFact
impl Freeze for CapturedFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ProcedureCommand>: Freeze,
impl Move for CapturedFact
impl RefUnwindSafe for CapturedFact
impl Send for CapturedFactwhere
RawVecInner: Send,
impl Sync for CapturedFactwhere
RawVecInner: Sync,
impl Unpin for CapturedFact
impl UnsafeUnpin for CapturedFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ProcedureCommand>: UnsafeUnpin,
impl UnwindSafe for CapturedFactwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more