pub enum FindingLevel {
Error,
Warn,
Report,
}Expand description
A finding’s severity. Each id has a default level in the registry; a rule or a text
constraint’s level: can set another.
Variants§
Error
Fails the document.
Warn
Reported, and does not fail the document.
Report
Informational, and does not fail the document.
Trait Implementations§
Source§impl Clone for FindingLevel
impl Clone for FindingLevel
impl Copy for FindingLevel
Source§impl Debug for FindingLevel
impl Debug for FindingLevel
Source§impl<'de> Deserialize<'de> for FindingLevel
impl<'de> Deserialize<'de> for FindingLevel
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 FindingLevel
Source§impl PartialEq for FindingLevel
impl PartialEq for FindingLevel
Source§impl Serialize for FindingLevel
impl Serialize for FindingLevel
impl StructuralPartialEq for FindingLevel
Auto Trait Implementations§
impl Freeze for FindingLevel
impl RefUnwindSafe for FindingLevel
impl Send for FindingLevel
impl Sync for FindingLevel
impl Unpin for FindingLevel
impl UnsafeUnpin for FindingLevel
impl UnwindSafe for FindingLevel
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.