[][src]Struct fitparse::fittypes::FitMessageLength

pub struct FitMessageLength {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub message_index: FitFieldBasicValue<FitFieldMessageIndex>,
    pub timestamp: FitFieldBasicValue<FitFieldDateTime>,
    pub event: FitFieldBasicValue<FitFieldEvent>,
    pub event_type: FitFieldBasicValue<FitFieldEventType>,
    pub start_time: FitFieldBasicValue<FitFieldDateTime>,
    pub total_elapsed_time: FitFieldAdjustedValue<FitUint32>,
    pub total_timer_time: FitFieldAdjustedValue<FitUint32>,
    pub total_strokes: FitFieldBasicValue<FitUint16>,
    pub avg_speed: FitFieldAdjustedValue<FitUint16>,
    pub swim_stroke: FitFieldBasicValue<FitFieldSwimStroke>,
    pub avg_swimming_cadence: FitFieldBasicValue<FitUint8>,
    pub event_group: FitFieldBasicValue<FitUint8>,
    pub total_calories: FitFieldBasicValue<FitUint16>,
    pub length_type: FitFieldBasicValue<FitFieldLengthType>,
    pub player_score: FitFieldBasicValue<FitUint16>,
    pub opponent_score: FitFieldBasicValue<FitUint16>,
    pub stroke_count: FitFieldBasicValue<FitUint16>,
    pub zone_count: FitFieldBasicValue<FitUint16>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strmessage_index: FitFieldBasicValue<FitFieldMessageIndex>timestamp: FitFieldBasicValue<FitFieldDateTime>event: FitFieldBasicValue<FitFieldEvent>event_type: FitFieldBasicValue<FitFieldEventType>start_time: FitFieldBasicValue<FitFieldDateTime>total_elapsed_time: FitFieldAdjustedValue<FitUint32>total_timer_time: FitFieldAdjustedValue<FitUint32>total_strokes: FitFieldBasicValue<FitUint16>avg_speed: FitFieldAdjustedValue<FitUint16>swim_stroke: FitFieldBasicValue<FitFieldSwimStroke>avg_swimming_cadence: FitFieldBasicValue<FitUint8>event_group: FitFieldBasicValue<FitUint8>total_calories: FitFieldBasicValue<FitUint16>length_type: FitFieldBasicValue<FitFieldLengthType>player_score: FitFieldBasicValue<FitUint16>opponent_score: FitFieldBasicValue<FitUint16>stroke_count: FitFieldBasicValue<FitUint16>zone_count: FitFieldBasicValue<FitUint16>

Implementations

impl FitMessageLength[src]

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

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

Trait Implementations

impl Debug for FitMessageLength[src]

impl Display for FitMessageLength[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.