pub struct SubSport(/* private fields */);Expand description
A sport’s variant, the FIT profile’s sub_sport type.
Implementations§
Source§impl SubSport
impl SubSport
Sourcepub const INDOOR_CYCLING: Self
pub const INDOOR_CYCLING: Self
indoor_cycling (6).
Sourcepub const INDOOR_ROWING: Self
pub const INDOOR_ROWING: Self
indoor_rowing (14).
Sourcepub const ELLIPTICAL: Self
pub const ELLIPTICAL: Self
elliptical (15).
Sourcepub const STAIR_CLIMBING: Self
pub const STAIR_CLIMBING: Self
stair_climbing (16).
Sourcepub const LAP_SWIMMING: Self
pub const LAP_SWIMMING: Self
lap_swimming (17).
Sourcepub const OPEN_WATER: Self
pub const OPEN_WATER: Self
open_water (18).
Sourcepub const STRENGTH_TRAINING: Self
pub const STRENGTH_TRAINING: Self
strength_training (20).
Sourcepub const CARDIO_TRAINING: Self
pub const CARDIO_TRAINING: Self
cardio_training (26).
Sourcepub const INDOOR_WALKING: Self
pub const INDOOR_WALKING: Self
indoor_walking (27).
Sourcepub const BIKE_TO_RUN_TRANSITION: Self
pub const BIKE_TO_RUN_TRANSITION: Self
bike_to_run_transition (32).
Sourcepub const RUN_TO_BIKE_TRANSITION: Self
pub const RUN_TO_BIKE_TRANSITION: Self
run_to_bike_transition (33).
Sourcepub const SWIM_TO_BIKE_TRANSITION: Self
pub const SWIM_TO_BIKE_TRANSITION: Self
swim_to_bike_transition (34).
Sourcepub const INDOOR_RUNNING: Self
pub const INDOOR_RUNNING: Self
indoor_running (45).
Trait Implementations§
impl Copy for SubSport
impl Eq for SubSport
Source§impl Ord for SubSport
impl Ord for SubSport
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SubSport
impl PartialOrd for SubSport
impl StructuralPartialEq for SubSport
Auto Trait Implementations§
impl Forget for SubSport
impl Freeze for SubSport
impl Move for SubSport
impl RefUnwindSafe for SubSport
impl Send for SubSport
impl Sync for SubSport
impl Unpin for SubSport
impl UnsafeUnpin for SubSport
impl UnwindSafe for SubSport
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