[][src]Struct fitparse::fittypes::FitMessageWeightScale

pub struct FitMessageWeightScale {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub timestamp: FitFieldBasicValue<FitFieldDateTime>,
    pub weight: FitFieldBasicValue<FitFieldWeight>,
    pub percent_fat: FitFieldAdjustedValue<FitUint16>,
    pub percent_hydration: FitFieldAdjustedValue<FitUint16>,
    pub visceral_fat_mass: FitFieldAdjustedValue<FitUint16>,
    pub bone_mass: FitFieldAdjustedValue<FitUint16>,
    pub muscle_mass: FitFieldAdjustedValue<FitUint16>,
    pub basal_met: FitFieldAdjustedValue<FitUint16>,
    pub physique_rating: FitFieldBasicValue<FitUint8>,
    pub active_met: FitFieldAdjustedValue<FitUint16>,
    pub metabolic_age: FitFieldBasicValue<FitUint8>,
    pub visceral_fat_rating: FitFieldBasicValue<FitUint8>,
    pub user_profile_index: FitFieldBasicValue<FitFieldMessageIndex>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strtimestamp: FitFieldBasicValue<FitFieldDateTime>weight: FitFieldBasicValue<FitFieldWeight>percent_fat: FitFieldAdjustedValue<FitUint16>percent_hydration: FitFieldAdjustedValue<FitUint16>visceral_fat_mass: FitFieldAdjustedValue<FitUint16>bone_mass: FitFieldAdjustedValue<FitUint16>muscle_mass: FitFieldAdjustedValue<FitUint16>basal_met: FitFieldAdjustedValue<FitUint16>physique_rating: FitFieldBasicValue<FitUint8>active_met: FitFieldAdjustedValue<FitUint16>metabolic_age: FitFieldBasicValue<FitUint8>visceral_fat_rating: FitFieldBasicValue<FitUint8>user_profile_index: FitFieldBasicValue<FitFieldMessageIndex>

Implementations

impl FitMessageWeightScale[src]

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

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

Trait Implementations

impl Debug for FitMessageWeightScale[src]

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