[][src]Struct fitparse::fittypes::FitMessageDiveSettings

pub struct FitMessageDiveSettings {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub message_index: FitFieldBasicValue<FitFieldMessageIndex>,
    pub name: FitFieldBasicValue<FitString>,
    pub model: FitFieldBasicValue<FitFieldTissueModelType>,
    pub gf_low: FitFieldBasicValue<FitUint8>,
    pub gf_high: FitFieldBasicValue<FitUint8>,
    pub water_type: FitFieldBasicValue<FitFieldWaterType>,
    pub water_density: FitFieldBasicValue<FitFloat32>,
    pub po2_warn: FitFieldAdjustedValue<FitUint8>,
    pub po2_critical: FitFieldAdjustedValue<FitUint8>,
    pub po2_deco: FitFieldAdjustedValue<FitUint8>,
    pub safety_stop_enabled: FitFieldBasicValue<FitBool>,
    pub bottom_depth: FitFieldBasicValue<FitFloat32>,
    pub bottom_time: FitFieldBasicValue<FitUint32>,
    pub apnea_countdown_enabled: FitFieldBasicValue<FitBool>,
    pub apnea_countdown_time: FitFieldBasicValue<FitUint32>,
    pub backlight_mode: FitFieldBasicValue<FitFieldDiveBacklightMode>,
    pub backlight_brightness: FitFieldBasicValue<FitUint8>,
    pub backlight_timeout: FitFieldBasicValue<FitFieldBacklightTimeout>,
    pub repeat_dive_interval: FitFieldAdjustedValue<FitUint16>,
    pub safety_stop_time: FitFieldAdjustedValue<FitUint16>,
    pub heart_rate_source_type: FitFieldBasicValue<FitFieldSourceType>,
    pub heart_rate_source_subfield_bytes: Vec<u8>,
    pub heart_rate_source: FitMessageDiveSettingsSubfieldHeartRateSource,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strmessage_index: FitFieldBasicValue<FitFieldMessageIndex>name: FitFieldBasicValue<FitString>model: FitFieldBasicValue<FitFieldTissueModelType>gf_low: FitFieldBasicValue<FitUint8>gf_high: FitFieldBasicValue<FitUint8>water_type: FitFieldBasicValue<FitFieldWaterType>water_density: FitFieldBasicValue<FitFloat32>po2_warn: FitFieldAdjustedValue<FitUint8>po2_critical: FitFieldAdjustedValue<FitUint8>po2_deco: FitFieldAdjustedValue<FitUint8>safety_stop_enabled: FitFieldBasicValue<FitBool>bottom_depth: FitFieldBasicValue<FitFloat32>bottom_time: FitFieldBasicValue<FitUint32>apnea_countdown_enabled: FitFieldBasicValue<FitBool>apnea_countdown_time: FitFieldBasicValue<FitUint32>backlight_mode: FitFieldBasicValue<FitFieldDiveBacklightMode>backlight_brightness: FitFieldBasicValue<FitUint8>backlight_timeout: FitFieldBasicValue<FitFieldBacklightTimeout>repeat_dive_interval: FitFieldAdjustedValue<FitUint16>safety_stop_time: FitFieldAdjustedValue<FitUint16>heart_rate_source_type: FitFieldBasicValue<FitFieldSourceType>heart_rate_source_subfield_bytes: Vec<u8>heart_rate_source: FitMessageDiveSettingsSubfieldHeartRateSource

Implementations

impl FitMessageDiveSettings[src]

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

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

Trait Implementations

impl Debug for FitMessageDiveSettings[src]

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