pub struct ValidationCounts {
pub fatal: u32,
pub error: u32,
pub warning: u32,
pub info: u32,
pub debug: u32,
}Expand description
Counts per severity. All five are always present; zero where unused.
Fields§
§fatal: u32§error: u32§warning: u32§info: u32§debug: u32Trait Implementations§
Source§impl Clone for ValidationCounts
impl Clone for ValidationCounts
Source§fn clone(&self) -> ValidationCounts
fn clone(&self) -> ValidationCounts
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 ValidationCounts
impl Debug for ValidationCounts
Source§impl Default for ValidationCounts
impl Default for ValidationCounts
Source§fn default() -> ValidationCounts
fn default() -> ValidationCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidationCounts
impl<'de> Deserialize<'de> for ValidationCounts
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
Source§impl PartialEq for ValidationCounts
impl PartialEq for ValidationCounts
Source§impl Serialize for ValidationCounts
impl Serialize for ValidationCounts
impl Copy for ValidationCounts
impl Eq for ValidationCounts
impl StructuralPartialEq for ValidationCounts
Auto Trait Implementations§
impl Freeze for ValidationCounts
impl RefUnwindSafe for ValidationCounts
impl Send for ValidationCounts
impl Sync for ValidationCounts
impl Unpin for ValidationCounts
impl UnsafeUnpin for ValidationCounts
impl UnwindSafe for ValidationCounts
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more