pub enum RuleValidationReason {
UnknownSource {
variant: String,
},
MatchesNothing,
UnsupportedPattern {
hint: String,
},
}Variants§
UnknownSource
source:<variant> — <variant> isn’t a known IssueSource.
MatchesNothing
The key parsed but matched zero codes in the supplied universe.
UnsupportedPattern
The key used syntax the matcher doesn’t support (e.g. **).
Trait Implementations§
Source§impl Clone for RuleValidationReason
impl Clone for RuleValidationReason
Source§fn clone(&self) -> RuleValidationReason
fn clone(&self) -> RuleValidationReason
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 RuleValidationReason
impl Debug for RuleValidationReason
Source§impl<'de> Deserialize<'de> for RuleValidationReason
impl<'de> Deserialize<'de> for RuleValidationReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RuleValidationReason
Source§impl PartialEq for RuleValidationReason
impl PartialEq for RuleValidationReason
Source§fn eq(&self, other: &RuleValidationReason) -> bool
fn eq(&self, other: &RuleValidationReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuleValidationReason
impl Serialize for RuleValidationReason
impl StructuralPartialEq for RuleValidationReason
Auto Trait Implementations§
impl Freeze for RuleValidationReason
impl RefUnwindSafe for RuleValidationReason
impl Send for RuleValidationReason
impl Sync for RuleValidationReason
impl Unpin for RuleValidationReason
impl UnsafeUnpin for RuleValidationReason
impl UnwindSafe for RuleValidationReason
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