pub struct BarCount {
pub metric: String,
pub scale: f64,
pub unit: Unit,
pub within: usize,
pub compared: usize,
}Expand description
How many of one metric’s numbers are within the bar they are judged by.
Fields§
§metric: StringThe metric.
scale: f64Its bar.
unit: UnitThe bar’s unit.
within: usizeHow many are within it.
compared: usizeHow many were compared.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BarCount
impl<'de> Deserialize<'de> for BarCount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BarCount
Auto Trait Implementations§
impl Freeze for BarCount
impl RefUnwindSafe for BarCount
impl Send for BarCount
impl Sync for BarCount
impl Unpin for BarCount
impl UnsafeUnpin for BarCount
impl UnwindSafe for BarCount
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