pub struct DiagnosticInputs<'a> {
pub resolution: &'a Resolution,
pub sequences: &'a SequenceStats,
pub headers: Option<(&'a HeaderSpec, &'a HeaderStats)>,
pub value_diagnostics: Vec<Diagnostic>,
pub identifier: Option<Diagnostic>,
pub sequence_count: u64,
pub threshold: u64,
pub eligible_positions: u64,
pub below_min_coverage: Option<(f64, Tally)>,
pub fill_without_format: bool,
}Expand description
Inputs of diagnostics.
Fields§
§resolution: &'a ResolutionResolved alphabet decision.
sequences: &'a SequenceStatsSequence statistics.
headers: Option<(&'a HeaderSpec, &'a HeaderStats)>Header statistics and format, with metadata.
value_diagnostics: Vec<Diagnostic>Header-value diagnostics computed from the value dictionary.
identifier: Option<Diagnostic>Identifier-like field diagnostic from the probe.
sequence_count: u64Number of sequences.
threshold: u64Support threshold.
eligible_positions: u64Eligible positions.
below_min_coverage: Option<(f64, Tally)>--min-coverage and the positions below it.
fill_without_format: boolA header fill value was given without a header format.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DiagnosticInputs<'a>
impl<'a> RefUnwindSafe for DiagnosticInputs<'a>
impl<'a> Send for DiagnosticInputs<'a>
impl<'a> Sync for DiagnosticInputs<'a>
impl<'a> Unpin for DiagnosticInputs<'a>
impl<'a> UnsafeUnpin for DiagnosticInputs<'a>
impl<'a> UnwindSafe for DiagnosticInputs<'a>
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
§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