pub struct VelocityMetrics {
pub days: u32,
pub total_completed: u32,
pub average_per_day: f64,
pub best_day: Option<(String, u32)>,
}Expand description
Velocity metrics for a given time period
Fields§
§days: u32§total_completed: u32§average_per_day: f64§best_day: Option<(String, u32)>Trait Implementations§
Source§impl Clone for VelocityMetrics
impl Clone for VelocityMetrics
Source§fn clone(&self) -> VelocityMetrics
fn clone(&self) -> VelocityMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VelocityMetrics
impl Debug for VelocityMetrics
Source§impl<'de> Deserialize<'de> for VelocityMetrics
impl<'de> Deserialize<'de> for VelocityMetrics
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 VelocityMetrics
impl RefUnwindSafe for VelocityMetrics
impl Send for VelocityMetrics
impl Sync for VelocityMetrics
impl Unpin for VelocityMetrics
impl UnsafeUnpin for VelocityMetrics
impl UnwindSafe for VelocityMetrics
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