pub struct VetoExpression {
pub message: Option<String>,
}Expand description
A veto expression that prohibits any valid verdict from the rule
A veto prevents the rule from producing any valid result. This is used for
validation and constraint enforcement — distinct from boolean false.
Example: veto "Must be over 18" - blocks the rule entirely with a message
Fields§
§message: Option<String>Trait Implementations§
Source§impl Clone for VetoExpression
impl Clone for VetoExpression
Source§impl Debug for VetoExpression
impl Debug for VetoExpression
Source§impl Display for VetoExpression
impl Display for VetoExpression
impl Eq for VetoExpression
Source§impl Hash for VetoExpression
impl Hash for VetoExpression
Source§impl PartialEq for VetoExpression
impl PartialEq for VetoExpression
impl StructuralPartialEq for VetoExpression
Auto Trait Implementations§
impl Forget for VetoExpression
impl Freeze for VetoExpression
impl Move for VetoExpression
impl RefUnwindSafe for VetoExpression
impl Send for VetoExpression
impl Sync for VetoExpression
impl Unpin for VetoExpression
impl UnsafeUnpin for VetoExpression
impl UnwindSafe for VetoExpression
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
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§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.