[][src]Struct fitparse::fittypes::FitMessageMonitoring

pub struct FitMessageMonitoring {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub timestamp: FitFieldBasicValue<FitFieldDateTime>,
    pub device_index: FitFieldBasicValue<FitFieldDeviceIndex>,
    pub calories: FitFieldBasicValue<FitUint16>,
    pub distance: FitFieldAdjustedValue<FitUint32>,
    pub cycles_subfield_bytes: Vec<u8>,
    pub cycles: FitMessageMonitoringSubfieldCycles,
    pub active_time: FitFieldAdjustedValue<FitUint32>,
    pub activity_type: FitFieldBasicValue<FitFieldActivityType>,
    pub activity_subtype: FitFieldBasicValue<FitFieldActivitySubtype>,
    pub activity_level: FitFieldBasicValue<FitFieldActivityLevel>,
    pub distance_16: FitFieldBasicValue<FitUint16>,
    pub cycles_16: FitFieldBasicValue<FitUint16>,
    pub active_time_16: FitFieldBasicValue<FitUint16>,
    pub local_timestamp: FitFieldBasicValue<FitFieldLocalDateTime>,
    pub temperature: FitFieldAdjustedValue<FitSint16>,
    pub temperature_min: FitFieldAdjustedValue<FitSint16>,
    pub temperature_max: FitFieldAdjustedValue<FitSint16>,
    pub activity_time: FitFieldBasicValue<FitUint16>,
    pub active_calories: FitFieldBasicValue<FitUint16>,
    pub current_activity_type_intensity: FitFieldBasicValue<FitByte>,
    pub timestamp_min_8: FitFieldBasicValue<FitUint8>,
    pub timestamp_16: FitFieldBasicValue<FitUint16>,
    pub heart_rate: FitFieldBasicValue<FitUint8>,
    pub intensity: FitFieldAdjustedValue<FitUint8>,
    pub duration_min: FitFieldBasicValue<FitUint16>,
    pub duration: FitFieldBasicValue<FitUint32>,
    pub ascent: FitFieldAdjustedValue<FitUint32>,
    pub descent: FitFieldAdjustedValue<FitUint32>,
    pub moderate_activity_minutes: FitFieldBasicValue<FitUint16>,
    pub vigorous_activity_minutes: FitFieldBasicValue<FitUint16>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strtimestamp: FitFieldBasicValue<FitFieldDateTime>device_index: FitFieldBasicValue<FitFieldDeviceIndex>calories: FitFieldBasicValue<FitUint16>distance: FitFieldAdjustedValue<FitUint32>cycles_subfield_bytes: Vec<u8>cycles: FitMessageMonitoringSubfieldCyclesactive_time: FitFieldAdjustedValue<FitUint32>activity_type: FitFieldBasicValue<FitFieldActivityType>activity_subtype: FitFieldBasicValue<FitFieldActivitySubtype>activity_level: FitFieldBasicValue<FitFieldActivityLevel>distance_16: FitFieldBasicValue<FitUint16>cycles_16: FitFieldBasicValue<FitUint16>active_time_16: FitFieldBasicValue<FitUint16>local_timestamp: FitFieldBasicValue<FitFieldLocalDateTime>temperature: FitFieldAdjustedValue<FitSint16>temperature_min: FitFieldAdjustedValue<FitSint16>temperature_max: FitFieldAdjustedValue<FitSint16>activity_time: FitFieldBasicValue<FitUint16>active_calories: FitFieldBasicValue<FitUint16>current_activity_type_intensity: FitFieldBasicValue<FitByte>timestamp_min_8: FitFieldBasicValue<FitUint8>timestamp_16: FitFieldBasicValue<FitUint16>heart_rate: FitFieldBasicValue<FitUint8>intensity: FitFieldAdjustedValue<FitUint8>duration_min: FitFieldBasicValue<FitUint16>duration: FitFieldBasicValue<FitUint32>ascent: FitFieldAdjustedValue<FitUint32>descent: FitFieldAdjustedValue<FitUint32>moderate_activity_minutes: FitFieldBasicValue<FitUint16>vigorous_activity_minutes: FitFieldBasicValue<FitUint16>

Implementations

impl FitMessageMonitoring[src]

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

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

Trait Implementations

impl Debug for FitMessageMonitoring[src]

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