pub struct MetricTally {
pub files: u64,
pub bytes: u64,
pub lines: AnalyzerTally<BasicMetrics>,
pub code: AnalyzerTally<CodeMetrics>,
pub words: AnalyzerTally<WordMetrics>,
}Expand description
Additive tally across records of one content-tier identity.
Fields§
§files: u64Files represented, including unavailable outcomes.
bytes: u64Apparent bytes represented.
lines: AnalyzerTally<BasicMetrics>Shared lines-unit results.
code: AnalyzerTally<CodeMetrics>Code-unit results; empty when the tier did not request code.
words: AnalyzerTally<WordMetrics>Words-unit results; empty when the tier did not request words.
Trait Implementations§
Source§impl Clone for MetricTally
impl Clone for MetricTally
Source§impl Debug for MetricTally
impl Debug for MetricTally
Source§impl Default for MetricTally
impl Default for MetricTally
impl Eq for MetricTally
Source§impl PartialEq for MetricTally
impl PartialEq for MetricTally
impl StructuralPartialEq for MetricTally
Auto Trait Implementations§
impl Freeze for MetricTally
impl RefUnwindSafe for MetricTally
impl Send for MetricTally
impl Sync for MetricTally
impl Unpin for MetricTally
impl UnsafeUnpin for MetricTally
impl UnwindSafe for MetricTally
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