pub struct MetricSummary {
pub group: MetricGroup,
pub total: MetricRow,
pub rows: Vec<MetricRow>,
pub total_rows: usize,
pub share_omitted: usize,
pub share_metric: ShareMetric,
pub words_per_page: u64,
}Expand description
Totals and grouped rows for types, families, languages, or documents.
Fields§
§group: MetricGroupGrouping dimension.
total: MetricRowTotals across every row before display truncation.
rows: Vec<MetricRow>Sorted, display-bounded rows.
total_rows: usizeRows before the bound was applied.
Rows removed by the explicit minimum-share filter before the row bound.
Metric used for every row’s exact share.
words_per_page: u64Logical words per derived page.
Trait Implementations§
Source§impl Clone for MetricSummary
impl Clone for MetricSummary
Auto Trait Implementations§
impl Freeze for MetricSummary
impl RefUnwindSafe for MetricSummary
impl Send for MetricSummary
impl Sync for MetricSummary
impl Unpin for MetricSummary
impl UnsafeUnpin for MetricSummary
impl UnwindSafe for MetricSummary
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