pub struct MetricShare {
pub numerator: u64,
pub denominator: u64,
}Expand description
Exact share represented as an integer fraction.
A grouped section’s rows partition its denominator: with no share filter or row bound, their numerators sum to it exactly.
Fields§
§numerator: u64This row’s value in the section’s share metric. On a section’s total row it is the
denominator itself, the sum of the rows, which for document words can differ from
the total row’s own pooled document_words.
denominator: u64Sum of every row’s numerator before the share filter and display truncation.
Trait Implementations§
Auto Trait Implementations§
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