pub enum RuleValidation {
Valid,
Invalid(String),
}Expand description
Result of rule validation
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RuleValidation
impl Clone for RuleValidation
Source§fn clone(&self) -> RuleValidation
fn clone(&self) -> RuleValidation
Returns a duplicate of the value. Read more
1.0.0 · 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 RuleValidation
impl Debug for RuleValidation
Source§impl PartialEq for RuleValidation
impl PartialEq for RuleValidation
impl Eq for RuleValidation
impl StructuralPartialEq for RuleValidation
Auto Trait Implementations§
impl Freeze for RuleValidation
impl RefUnwindSafe for RuleValidation
impl Send for RuleValidation
impl Sync for RuleValidation
impl Unpin for RuleValidation
impl UnsafeUnpin for RuleValidation
impl UnwindSafe for RuleValidation
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