pub struct RuleEvaluation { /* private fields */ }Expand description
Pure result of evaluating one rule against one snapshot.
Implementations§
Source§impl RuleEvaluation
impl RuleEvaluation
Sourcepub fn condition(&self) -> &ExpressionEvaluation
pub fn condition(&self) -> &ExpressionEvaluation
Returns the expression result and trace.
Sourcepub fn hypothesis(&self) -> Option<&Hypothesis>
pub fn hypothesis(&self) -> Option<&Hypothesis>
Returns the materialized hypothesis when the condition matched.
Trait Implementations§
Source§impl Clone for RuleEvaluation
impl Clone for RuleEvaluation
Source§fn clone(&self) -> RuleEvaluation
fn clone(&self) -> RuleEvaluation
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 RuleEvaluation
impl Debug for RuleEvaluation
impl Eq for RuleEvaluation
Source§impl PartialEq for RuleEvaluation
impl PartialEq for RuleEvaluation
Source§impl Serialize for RuleEvaluation
impl Serialize for RuleEvaluation
impl StructuralPartialEq for RuleEvaluation
Auto Trait Implementations§
impl Freeze for RuleEvaluation
impl RefUnwindSafe for RuleEvaluation
impl Send for RuleEvaluation
impl Sync for RuleEvaluation
impl Unpin for RuleEvaluation
impl UnsafeUnpin for RuleEvaluation
impl UnwindSafe for RuleEvaluation
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