pub enum Set {
    Timestamp(Field<DateTime>),
    Duration(Field<Uint32>),
    Repetitions(Field<Uint16>),
    Weight(Field<Uint16>),
    SetType(Field<SetType>),
    StartTime(Field<DateTime>),
    Category(Field<ExerciseCategory>),
    CategorySubtype(Field<Uint16>),
    WeightDisplayUnit(Field<FitBaseUnit>),
    MessageIndex(Field<MessageIndex>),
    WktStepIndex(Field<MessageIndex>),
    Unknown {
        data: Vec<u8>,
        field_def_num: u8,
    },
}

Variants

Timestamp(Field<DateTime>)

Timestamp of the set

Duration(Field<Uint32>)

Repetitions(Field<Uint16>)

Weight(Field<Uint16>)

Amount of weight applied for the set

SetType(Field<SetType>)

StartTime(Field<DateTime>)

Start time of the set

Category(Field<ExerciseCategory>)

CategorySubtype(Field<Uint16>)

Based on the associated category, see [category]_exercise_names

WeightDisplayUnit(Field<FitBaseUnit>)

MessageIndex(Field<MessageIndex>)

WktStepIndex(Field<MessageIndex>)

Unknown

Fields

data: Vec<u8>
field_def_num: u8

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.