pub struct ValidationInfo {
pub mode: ValidationMode,
pub records: u64,
pub lowercase_folded: u64,
pub whitespace: WhitespaceCounts,
pub characters: Vec<CharacterCount>,
pub unknown_total: u64,
pub header_utf8_replacements: u64,
pub header_cleaning: Option<HeaderCleaning>,
}Expand description
Input validation statistics.
Fields§
§mode: ValidationModeValidation mode.
records: u64Records read.
lowercase_folded: u64Lower-case residue letters folded to upper case.
whitespace: WhitespaceCountsWhitespace inside sequence lines.
characters: Vec<CharacterCount>Every byte value seen in sequence lines, by byte.
unknown_total: u64Occurrences of characters of class unknown.
header_utf8_replacements: u64Header bytes replaced because they were not valid UTF-8.
header_cleaning: Option<HeaderCleaning>Header-value cleaning; null when headers were not parsed.
Trait Implementations§
Source§impl Clone for ValidationInfo
impl Clone for ValidationInfo
Source§fn clone(&self) -> ValidationInfo
fn clone(&self) -> ValidationInfo
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 ValidationInfo
impl Debug for ValidationInfo
Source§impl<'de> Deserialize<'de> for ValidationInfo
impl<'de> Deserialize<'de> for ValidationInfo
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 ValidationInfo
impl PartialEq for ValidationInfo
Source§impl Serialize for ValidationInfo
impl Serialize for ValidationInfo
impl StructuralPartialEq for ValidationInfo
Auto Trait Implementations§
impl Freeze for ValidationInfo
impl RefUnwindSafe for ValidationInfo
impl Send for ValidationInfo
impl Sync for ValidationInfo
impl Unpin for ValidationInfo
impl UnsafeUnpin for ValidationInfo
impl UnwindSafe for ValidationInfo
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>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more