[][src]Struct fitparse::fittypes::FitMessageDiveSummary

pub struct FitMessageDiveSummary {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub timestamp: FitFieldBasicValue<FitFieldDateTime>,
    pub reference_mesg: FitFieldBasicValue<FitFieldMesgNum>,
    pub reference_index: FitFieldBasicValue<FitFieldMessageIndex>,
    pub avg_depth: FitFieldAdjustedValue<FitUint32>,
    pub max_depth: FitFieldAdjustedValue<FitUint32>,
    pub surface_interval: FitFieldAdjustedValue<FitUint32>,
    pub start_cns: FitFieldAdjustedValue<FitUint8>,
    pub end_cns: FitFieldAdjustedValue<FitUint8>,
    pub start_n2: FitFieldAdjustedValue<FitUint16>,
    pub end_n2: FitFieldAdjustedValue<FitUint16>,
    pub o2_toxicity: FitFieldBasicValue<FitUint16>,
    pub dive_number: FitFieldBasicValue<FitUint32>,
    pub bottom_time: FitFieldAdjustedValue<FitUint32>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static strtimestamp: FitFieldBasicValue<FitFieldDateTime>reference_mesg: FitFieldBasicValue<FitFieldMesgNum>reference_index: FitFieldBasicValue<FitFieldMessageIndex>avg_depth: FitFieldAdjustedValue<FitUint32>max_depth: FitFieldAdjustedValue<FitUint32>surface_interval: FitFieldAdjustedValue<FitUint32>start_cns: FitFieldAdjustedValue<FitUint8>end_cns: FitFieldAdjustedValue<FitUint8>start_n2: FitFieldAdjustedValue<FitUint16>end_n2: FitFieldAdjustedValue<FitUint16>o2_toxicity: FitFieldBasicValue<FitUint16>dive_number: FitFieldBasicValue<FitUint32>bottom_time: FitFieldAdjustedValue<FitUint32>

Implementations

impl FitMessageDiveSummary[src]

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

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

Trait Implementations

impl Debug for FitMessageDiveSummary[src]

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