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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValidationCounts
Source§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
impl Eq for ValidationCounts
Source§impl PartialEq for ValidationCounts
impl PartialEq for ValidationCounts
Source§fn eq(&self, other: &ValidationCounts) -> bool
fn eq(&self, other: &ValidationCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidationCounts
impl Serialize 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<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.