pub struct TargetReps {
pub sets_count: u32,
pub min_reps: u32,
pub max_reps: u32,
}Expand description
Represents the target repetition range for an exercise, specifying the number of sets and the min-max range of repetitions for each set.
An example of a valid target token: “3 x 10-15 reps”, where sets_count is 3,
min_reps is 10, and max_reps is 15.
Fields§
§sets_count: u32The number of sets targeted for the exercise.
min_reps: u32The minimum number of repetitions targeted for each set.
max_reps: u32The maximum number of repetitions targeted for each set.
Can be set to the same value as min_reps.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TargetReps
impl RefUnwindSafe for TargetReps
impl Send for TargetReps
impl Sync for TargetReps
impl Unpin for TargetReps
impl UnwindSafe for TargetReps
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