pub struct ExerciseStats {
pub name: String,
pub sets: u32,
pub reps: u32,
pub volume_kg: f64,
pub estimated_1rm: Option<f64>,
}Fields§
§name: String§sets: u32§reps: u32§volume_kg: f64§estimated_1rm: Option<f64>Trait Implementations§
Source§impl Clone for ExerciseStats
impl Clone for ExerciseStats
Source§fn clone(&self) -> ExerciseStats
fn clone(&self) -> ExerciseStats
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 ExerciseStats
impl Debug for ExerciseStats
Source§impl<'de> Deserialize<'de> for ExerciseStats
impl<'de> Deserialize<'de> for ExerciseStats
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 ExerciseStats
impl RefUnwindSafe for ExerciseStats
impl Send for ExerciseStats
impl Sync for ExerciseStats
impl Unpin for ExerciseStats
impl UnsafeUnpin for ExerciseStats
impl UnwindSafe for ExerciseStats
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