pub struct FactCapture {
pub node_type: Option<NodeType>,
pub steps: Vec<String>,
pub commands: Vec<ProcedureCommand>,
pub refs: Vec<String>,
pub evidence: Option<EvidenceLevel>,
pub changed_at: Option<DateTime<Utc>>,
}Expand description
Structured fields of a fact for the Hive capture gate (SPEC-ENGINE
§3.1.3), written by ctx_knowledge remember type= steps= commands= refs= evidence=.
Fields§
§node_type: Option<NodeType>§steps: Vec<String>§commands: Vec<ProcedureCommand>§refs: Vec<String>file:, sym:, test:, commit:, node: or https:// references.
evidence: Option<EvidenceLevel>§changed_at: Option<DateTime<Utc>>When a remember last changed these fields (e.g. a second
remember of the same statement that adds refs): the capture gate
considers the fact again although it was created before its
watermark. None for facts whose fields no remember set.
Trait Implementations§
Source§impl Clone for FactCapture
impl Clone for FactCapture
Source§impl Debug for FactCapture
impl Debug for FactCapture
Source§impl Default for FactCapture
impl Default for FactCapture
Source§impl<'de> Deserialize<'de> for FactCapture
impl<'de> Deserialize<'de> for FactCapture
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
impl Eq for FactCapture
Source§impl PartialEq for FactCapture
impl PartialEq for FactCapture
Source§impl Serialize for FactCapture
impl Serialize for FactCapture
impl StructuralPartialEq for FactCapture
Auto Trait Implementations§
impl Forget for FactCapture
impl Freeze for FactCapture
impl Move for FactCapture
impl RefUnwindSafe for FactCapture
impl Send for FactCapture
impl Sync for FactCapture
impl Unpin for FactCapture
impl UnsafeUnpin for FactCapture
impl UnwindSafe for FactCapture
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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