pub struct Inspection {Show 14 fields
pub source_name: String,
pub compression: Compression,
pub size_bytes: Option<u64>,
pub modified: Option<SystemTime>,
pub records_examined: u64,
pub complete: bool,
pub estimated_records: Option<u64>,
pub alignment_length: usize,
pub alphabet: Option<Alphabet>,
pub residues_examined: u64,
pub suggested_query_name: Option<String>,
pub header_fields: Vec<HeaderField>,
pub header_field_count_mismatches: u64,
pub probe: ProbeFacts,
}Expand description
What the pre-check found.
Fields§
§source_name: StringInput name for display.
compression: CompressionCompression detected from the content.
size_bytes: Option<u64>Stored size (regular files).
modified: Option<SystemTime>Modification time (regular files), to detect changes before the run (D85, G65).
records_examined: u64Records examined.
complete: booltrue when the probe read the whole input (the record count is exact).
estimated_records: Option<u64>Estimated number of records (exact when complete), extrapolated from the stored bytes
consumed per record; None for streams of unknown size.
alignment_length: usizeAlignment columns of the first record.
alphabet: Option<Alphabet>Alphabet detected from the probe, if it can be determined.
residues_examined: u64Residue letters examined.
suggested_query_name: Option<String>The query name the file name implies.
header_fields: Vec<HeaderField>Fields of the first header (split on |).
header_field_count_mismatches: u64Probed records whose headers have a different number of fields than the first.
probe: ProbeFactsThe facts a run checks before counting, to refuse a file that changed since (D108).
Trait Implementations§
Source§impl Clone for Inspection
impl Clone for Inspection
Source§fn clone(&self) -> Inspection
fn clone(&self) -> Inspection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Inspection
impl Debug for Inspection
Source§impl PartialEq for Inspection
impl PartialEq for Inspection
impl StructuralPartialEq for Inspection
Auto Trait Implementations§
impl Freeze for Inspection
impl RefUnwindSafe for Inspection
impl Send for Inspection
impl Sync for Inspection
impl Unpin for Inspection
impl UnsafeUnpin for Inspection
impl UnwindSafe for Inspection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> ⓘ
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> ⓘ
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