#[non_exhaustive]#[repr(u8)]pub enum SubSport {
Show 112 variants
Generic = 0,
Treadmill = 1,
Street = 2,
Trail = 3,
Track = 4,
Spin = 5,
IndoorCycling = 6,
Road = 7,
Mountain = 8,
Downhill = 9,
Recumbent = 10,
Cyclocross = 11,
HandCycling = 12,
TrackCycling = 13,
IndoorRowing = 14,
Elliptical = 15,
StairClimbing = 16,
LapSwimming = 17,
OpenWater = 18,
FlexibilityTraining = 19,
StrengthTraining = 20,
WarmUp = 21,
Match = 22,
Exercise = 23,
Challenge = 24,
IndoorSkiing = 25,
CardioTraining = 26,
IndoorWalking = 27,
EBikeFitness = 28,
Bmx = 29,
CasualWalking = 30,
SpeedWalking = 31,
BikeToRunTransition = 32,
RunToBikeTransition = 33,
SwimToBikeTransition = 34,
Atv = 35,
Motocross = 36,
Backcountry = 37,
Resort = 38,
RcDrone = 39,
Wingsuit = 40,
Whitewater = 41,
SkateSkiing = 42,
Yoga = 43,
Pilates = 44,
IndoorRunning = 45,
GravelCycling = 46,
EBikeMountain = 47,
Commuting = 48,
MixedSurface = 49,
Navigate = 50,
TrackMe = 51,
Map = 52,
SingleGasDiving = 53,
MultiGasDiving = 54,
GaugeDiving = 55,
ApneaDiving = 56,
ApneaHunting = 57,
VirtualActivity = 58,
Obstacle = 59,
Breathing = 62,
CcrDiving = 63,
SailRace = 65,
Expedition = 66,
Ultra = 67,
IndoorClimbing = 68,
Bouldering = 69,
Hiit = 70,
IndoorGrinding = 71,
HuntingWithDogs = 72,
Amrap = 73,
Emom = 74,
Tabata = 75,
Esport = 77,
Triathlon = 78,
Duathlon = 79,
Brick = 80,
SwimRun = 81,
AdventureRace = 82,
TruckerWorkout = 83,
Pickleball = 84,
Padel = 85,
IndoorWheelchairWalk = 86,
IndoorWheelchairRun = 87,
IndoorHandCycling = 88,
Field = 90,
Ice = 91,
Ultimate = 92,
Platform = 93,
Squash = 94,
Badminton = 95,
Racquetball = 96,
TableTennis = 97,
Overland = 98,
TrollingMotor = 99,
FlyCanopy = 110,
FlyParaglide = 111,
FlyParamotor = 112,
FlyPressurized = 113,
FlyNavigate = 114,
FlyTimer = 115,
FlyAltimeter = 116,
FlyWx = 117,
FlyVfr = 118,
FlyIfr = 119,
DynamicApnea = 121,
Enduro = 123,
Rucking = 124,
Rally = 125,
PoolTriathlon = 126,
EBikeEnduro = 127,
All = 254,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generic = 0
Treadmill = 1
Street = 2
Trail = 3
Track = 4
Spin = 5
IndoorCycling = 6
Road = 7
Mountain = 8
Downhill = 9
Recumbent = 10
Cyclocross = 11
HandCycling = 12
TrackCycling = 13
IndoorRowing = 14
Elliptical = 15
StairClimbing = 16
LapSwimming = 17
OpenWater = 18
FlexibilityTraining = 19
StrengthTraining = 20
WarmUp = 21
Match = 22
Exercise = 23
Challenge = 24
IndoorSkiing = 25
CardioTraining = 26
IndoorWalking = 27
EBikeFitness = 28
Bmx = 29
CasualWalking = 30
SpeedWalking = 31
BikeToRunTransition = 32
RunToBikeTransition = 33
SwimToBikeTransition = 34
Atv = 35
Motocross = 36
Backcountry = 37
Resort = 38
RcDrone = 39
Wingsuit = 40
Whitewater = 41
SkateSkiing = 42
Yoga = 43
Pilates = 44
IndoorRunning = 45
GravelCycling = 46
EBikeMountain = 47
Commuting = 48
MixedSurface = 49
TrackMe = 51
Map = 52
SingleGasDiving = 53
MultiGasDiving = 54
GaugeDiving = 55
ApneaDiving = 56
ApneaHunting = 57
VirtualActivity = 58
Obstacle = 59
Breathing = 62
CcrDiving = 63
SailRace = 65
Expedition = 66
Ultra = 67
IndoorClimbing = 68
Bouldering = 69
Hiit = 70
IndoorGrinding = 71
HuntingWithDogs = 72
Amrap = 73
Emom = 74
Tabata = 75
Esport = 77
Triathlon = 78
Duathlon = 79
Brick = 80
SwimRun = 81
AdventureRace = 82
TruckerWorkout = 83
Pickleball = 84
Padel = 85
IndoorWheelchairWalk = 86
IndoorWheelchairRun = 87
IndoorHandCycling = 88
Field = 90
Ice = 91
Ultimate = 92
Platform = 93
Squash = 94
Badminton = 95
Racquetball = 96
TableTennis = 97
Overland = 98
TrollingMotor = 99
FlyCanopy = 110
FlyParaglide = 111
FlyParamotor = 112
FlyPressurized = 113
FlyTimer = 115
FlyAltimeter = 116
FlyWx = 117
FlyVfr = 118
FlyIfr = 119
DynamicApnea = 121
Enduro = 123
Rucking = 124
Rally = 125
PoolTriathlon = 126
EBikeEnduro = 127
All = 254
Implementations§
Trait Implementations§
impl Copy for SubSport
impl Eq for SubSport
impl StructuralPartialEq for SubSport
Auto Trait Implementations§
impl Freeze 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