[][src]Struct fitparse::fittypes::FitMessageWorkoutStep

pub struct FitMessageWorkoutStep {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub message_index: FitFieldBasicValue<FitFieldMessageIndex>,
    pub wkt_step_name: FitFieldBasicValue<FitString>,
    pub duration_type: FitFieldBasicValue<FitFieldWktStepDuration>,
    pub duration_value_subfield_bytes: Vec<u8>,
    pub duration_value: FitMessageWorkoutStepSubfieldDurationValue,
    pub target_type: FitFieldBasicValue<FitFieldWktStepTarget>,
    pub target_value_subfield_bytes: Vec<u8>,
    pub target_value: FitMessageWorkoutStepSubfieldTargetValue,
    pub custom_target_value_low_subfield_bytes: Vec<u8>,
    pub custom_target_value_low: FitMessageWorkoutStepSubfieldCustomTargetValueLow,
    pub custom_target_value_high_subfield_bytes: Vec<u8>,
    pub custom_target_value_high: FitMessageWorkoutStepSubfieldCustomTargetValueHigh,
    pub intensity: FitFieldBasicValue<FitFieldIntensity>,
    pub notes: FitFieldBasicValue<FitString>,
    pub equipment: FitFieldBasicValue<FitFieldWorkoutEquipment>,
    pub exercise_category: FitFieldBasicValue<FitFieldExerciseCategory>,
    pub exercise_name: FitFieldBasicValue<FitUint16>,
    pub exercise_weight: FitFieldAdjustedValue<FitUint16>,
    pub weight_display_unit: FitFieldBasicValue<FitFieldFitBaseUnit>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strmessage_index: FitFieldBasicValue<FitFieldMessageIndex>wkt_step_name: FitFieldBasicValue<FitString>duration_type: FitFieldBasicValue<FitFieldWktStepDuration>duration_value_subfield_bytes: Vec<u8>duration_value: FitMessageWorkoutStepSubfieldDurationValuetarget_type: FitFieldBasicValue<FitFieldWktStepTarget>target_value_subfield_bytes: Vec<u8>target_value: FitMessageWorkoutStepSubfieldTargetValuecustom_target_value_low_subfield_bytes: Vec<u8>custom_target_value_low: FitMessageWorkoutStepSubfieldCustomTargetValueLowcustom_target_value_high_subfield_bytes: Vec<u8>custom_target_value_high: FitMessageWorkoutStepSubfieldCustomTargetValueHighintensity: FitFieldBasicValue<FitFieldIntensity>notes: FitFieldBasicValue<FitString>equipment: FitFieldBasicValue<FitFieldWorkoutEquipment>exercise_category: FitFieldBasicValue<FitFieldExerciseCategory>exercise_name: FitFieldBasicValue<FitUint16>exercise_weight: FitFieldAdjustedValue<FitUint16>weight_display_unit: FitFieldBasicValue<FitFieldFitBaseUnit>

Implementations

impl FitMessageWorkoutStep[src]

pub fn field_name(field_number: u8) -> &'static str[src]

pub fn new(
    header: FitRecordHeader,
    parsing_state: &FitParsingState
) -> Result<FitMessageWorkoutStep>
[src]

Trait Implementations

impl Debug for FitMessageWorkoutStep[src]

impl Display for FitMessageWorkoutStep[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme
[src]

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Dst> ConvAsUtil<Dst> for T[src]

impl<T> ConvUtil for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<Src> TryFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 
[src]

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Src> ValueFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 
[src]

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.