pub enum WorkoutCapabilities {
Show 15 variants Interval, Custom, FitnessEquipment, Firstbeat, NewLeaf, Tcx, Speed, HeartRate, Distance, Cadence, Power, Grade, Resistance, Protected, Unknown,
}

Variants

Interval

Custom

FitnessEquipment

Firstbeat

NewLeaf

Tcx

For backwards compatibility. Watch should add missing id fields then clear flag.

Speed

Speed source required for workout step.

HeartRate

Heart rate source required for workout step.

Distance

Distance source required for workout step.

Cadence

Cadence source required for workout step.

Power

Power source required for workout step.

Grade

Grade source required for workout step.

Resistance

Resistance source required for workout step.

Protected

Unknown

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.