pub struct UnknownRule {
pub rule: String,
}Expand description
Returned when a per-rule override targets a rule that is not in the catalog — almost always a typo at the call site.
Fields§
§rule: StringTrait Implementations§
Source§impl Clone for UnknownRule
impl Clone for UnknownRule
Source§fn clone(&self) -> UnknownRule
fn clone(&self) -> UnknownRule
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 UnknownRule
impl Debug for UnknownRule
Source§impl Display for UnknownRule
impl Display for UnknownRule
Source§impl Error for UnknownRule
impl Error for UnknownRule
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for UnknownRule
impl PartialEq for UnknownRule
Source§fn eq(&self, other: &UnknownRule) -> bool
fn eq(&self, other: &UnknownRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UnknownRule
impl StructuralPartialEq for UnknownRule
Auto Trait Implementations§
impl Freeze for UnknownRule
impl RefUnwindSafe for UnknownRule
impl Send for UnknownRule
impl Sync for UnknownRule
impl Unpin for UnknownRule
impl UnsafeUnpin for UnknownRule
impl UnwindSafe for UnknownRule
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