[][src]Struct fitparse::fittypes::FitMessageUserProfile

pub struct FitMessageUserProfile {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub message_index: FitFieldBasicValue<FitFieldMessageIndex>,
    pub friendly_name: FitFieldBasicValue<FitString>,
    pub gender: FitFieldBasicValue<FitFieldGender>,
    pub age: FitFieldBasicValue<FitUint8>,
    pub height: FitFieldAdjustedValue<FitUint8>,
    pub weight: FitFieldAdjustedValue<FitUint16>,
    pub language: FitFieldBasicValue<FitFieldLanguage>,
    pub elev_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub weight_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub resting_heart_rate: FitFieldBasicValue<FitUint8>,
    pub default_max_running_heart_rate: FitFieldBasicValue<FitUint8>,
    pub default_max_biking_heart_rate: FitFieldBasicValue<FitUint8>,
    pub default_max_heart_rate: FitFieldBasicValue<FitUint8>,
    pub hr_setting: FitFieldBasicValue<FitFieldDisplayHeart>,
    pub speed_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub dist_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub power_setting: FitFieldBasicValue<FitFieldDisplayPower>,
    pub activity_class: FitFieldBasicValue<FitFieldActivityClass>,
    pub position_setting: FitFieldBasicValue<FitFieldDisplayPosition>,
    pub temperature_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub local_id: FitFieldBasicValue<FitFieldUserLocalId>,
    pub global_id: FitFieldBasicValue<FitByte>,
    pub wake_time: FitFieldBasicValue<FitFieldLocaltimeIntoDay>,
    pub sleep_time: FitFieldBasicValue<FitFieldLocaltimeIntoDay>,
    pub height_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub user_running_step_length: FitFieldAdjustedValue<FitUint16>,
    pub user_walking_step_length: FitFieldAdjustedValue<FitUint16>,
    pub depth_setting: FitFieldBasicValue<FitFieldDisplayMeasure>,
    pub dive_count: FitFieldBasicValue<FitUint32>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strmessage_index: FitFieldBasicValue<FitFieldMessageIndex>friendly_name: FitFieldBasicValue<FitString>gender: FitFieldBasicValue<FitFieldGender>age: FitFieldBasicValue<FitUint8>height: FitFieldAdjustedValue<FitUint8>weight: FitFieldAdjustedValue<FitUint16>language: FitFieldBasicValue<FitFieldLanguage>elev_setting: FitFieldBasicValue<FitFieldDisplayMeasure>weight_setting: FitFieldBasicValue<FitFieldDisplayMeasure>resting_heart_rate: FitFieldBasicValue<FitUint8>default_max_running_heart_rate: FitFieldBasicValue<FitUint8>default_max_biking_heart_rate: FitFieldBasicValue<FitUint8>default_max_heart_rate: FitFieldBasicValue<FitUint8>hr_setting: FitFieldBasicValue<FitFieldDisplayHeart>speed_setting: FitFieldBasicValue<FitFieldDisplayMeasure>dist_setting: FitFieldBasicValue<FitFieldDisplayMeasure>power_setting: FitFieldBasicValue<FitFieldDisplayPower>activity_class: FitFieldBasicValue<FitFieldActivityClass>position_setting: FitFieldBasicValue<FitFieldDisplayPosition>temperature_setting: FitFieldBasicValue<FitFieldDisplayMeasure>local_id: FitFieldBasicValue<FitFieldUserLocalId>global_id: FitFieldBasicValue<FitByte>wake_time: FitFieldBasicValue<FitFieldLocaltimeIntoDay>sleep_time: FitFieldBasicValue<FitFieldLocaltimeIntoDay>height_setting: FitFieldBasicValue<FitFieldDisplayMeasure>user_running_step_length: FitFieldAdjustedValue<FitUint16>user_walking_step_length: FitFieldAdjustedValue<FitUint16>depth_setting: FitFieldBasicValue<FitFieldDisplayMeasure>dive_count: FitFieldBasicValue<FitUint32>

Implementations

impl FitMessageUserProfile[src]

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

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

Trait Implementations

impl Debug for FitMessageUserProfile[src]

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