#[non_exhaustive]pub enum RuleOutcome {
Passed,
Failed,
}Expand description
Rule evaluation outcome.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl RuleOutcome
impl RuleOutcome
Sourcepub fn assertion_status(self) -> AssertionStatus
pub fn assertion_status(self) -> AssertionStatus
Converts the outcome to report assertion status.
Trait Implementations§
Source§impl Clone for RuleOutcome
impl Clone for RuleOutcome
Source§fn clone(&self) -> RuleOutcome
fn clone(&self) -> RuleOutcome
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 RuleOutcome
impl Debug for RuleOutcome
Source§impl PartialEq for RuleOutcome
impl PartialEq for RuleOutcome
Source§fn eq(&self, other: &RuleOutcome) -> bool
fn eq(&self, other: &RuleOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RuleOutcome
impl Eq for RuleOutcome
impl StructuralPartialEq for RuleOutcome
Auto Trait Implementations§
impl Freeze for RuleOutcome
impl RefUnwindSafe for RuleOutcome
impl Send for RuleOutcome
impl Sync for RuleOutcome
impl Unpin for RuleOutcome
impl UnsafeUnpin for RuleOutcome
impl UnwindSafe for RuleOutcome
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