pub struct TrendCount {
pub value: usize,
pub total: usize,
}Expand description
Raw numerator/denominator for a percentage metric.
Fields§
§value: usizeThe numerator, e.g. dead files count.
total: usizeThe denominator, e.g. total files.
Trait Implementations§
Source§impl Clone for TrendCount
impl Clone for TrendCount
Source§impl Debug for TrendCount
impl Debug for TrendCount
Source§impl<'de> Deserialize<'de> for TrendCount
impl<'de> Deserialize<'de> for TrendCount
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
Auto Trait Implementations§
impl Freeze for TrendCount
impl RefUnwindSafe for TrendCount
impl Send for TrendCount
impl Sync for TrendCount
impl Unpin for TrendCount
impl UnsafeUnpin for TrendCount
impl UnwindSafe for TrendCount
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