pub struct DecisionReasoningCommitReceipt { /* private fields */ }Expand description
Reasoning applications committed before a later planning-stage failure.
This receipt describes one successful in-memory crate::RuleEngine::apply
transaction and its exact KnowledgeWrite statuses. It does not imply
durable persistence. A rule evaluation remains the pre-commit candidate;
hosts must query the knowledge base when verifier-owned terminal-state
preservation makes the stored hypothesis relevant.
Implementations§
Source§impl DecisionReasoningCommitReceipt
impl DecisionReasoningCommitReceipt
Sourcepub fn subject(&self) -> &EntityId
pub fn subject(&self) -> &EntityId
Returns the subject whose hypotheses were evaluated and committed.
Sourcepub fn planner_subject_revision(&self) -> u64
pub fn planner_subject_revision(&self) -> u64
Returns the subject revision captured by the attempted planner snapshot.
Sourcepub fn planner_ontology_revision(&self) -> u64
pub fn planner_ontology_revision(&self) -> u64
Returns the ontology revision captured by the attempted planner snapshot.
Sourcepub fn rule_applications(&self) -> &[RuleApplication]
pub fn rule_applications(&self) -> &[RuleApplication]
Returns deterministic applications and their exact write results.
Trait Implementations§
Source§impl Clone for DecisionReasoningCommitReceipt
impl Clone for DecisionReasoningCommitReceipt
Source§fn clone(&self) -> DecisionReasoningCommitReceipt
fn clone(&self) -> DecisionReasoningCommitReceipt
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 moreimpl Eq for DecisionReasoningCommitReceipt
impl StructuralPartialEq for DecisionReasoningCommitReceipt
Auto Trait Implementations§
impl Freeze for DecisionReasoningCommitReceipt
impl RefUnwindSafe for DecisionReasoningCommitReceipt
impl Send for DecisionReasoningCommitReceipt
impl Sync for DecisionReasoningCommitReceipt
impl Unpin for DecisionReasoningCommitReceipt
impl UnsafeUnpin for DecisionReasoningCommitReceipt
impl UnwindSafe for DecisionReasoningCommitReceipt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more