pub struct ValidationReport {
pub passed: usize,
pub failed: usize,
pub errors: Vec<ValidationError>,
pub shard_path: PathBuf,
pub truncated: bool,
}Expand description
Summary report from validating an entire shard.
Fields§
§passed: usizeNumber of event lines that passed validation.
failed: usizeNumber of lines that failed validation.
errors: Vec<ValidationError>Detailed errors for each failure.
shard_path: PathBufPath of the shard file that was validated.
truncated: boolWhether the file appears truncated (no trailing newline on last line).
Implementations§
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§fn clone(&self) -> ValidationReport
fn clone(&self) -> ValidationReport
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 moreAuto Trait Implementations§
impl Freeze for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReport
impl Sync for ValidationReport
impl Unpin for ValidationReport
impl UnsafeUnpin for ValidationReport
impl UnwindSafe for ValidationReport
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