[][src]Struct fitparse::fittypes::FitMessageDeviceSettings

pub struct FitMessageDeviceSettings {
    pub raw_bytes: Vec<u8>,
    pub subfield_field_numbers: Vec<u8>,
    pub message_name: &'static str,
    pub active_time_zone: FitFieldBasicValue<FitUint8>,
    pub utc_offset: FitFieldBasicValue<FitUint32>,
    pub time_offset: FitFieldBasicValue<FitUint32>,
    pub time_mode: FitFieldBasicValue<FitFieldTimeMode>,
    pub time_zone_offset: FitFieldAdjustedValue<FitSint8>,
    pub backlight_mode: FitFieldBasicValue<FitFieldBacklightMode>,
    pub activity_tracker_enabled: FitFieldBasicValue<FitBool>,
    pub clock_time: FitFieldBasicValue<FitFieldDateTime>,
    pub pages_enabled: FitFieldBasicValue<FitUint16>,
    pub move_alert_enabled: FitFieldBasicValue<FitBool>,
    pub date_mode: FitFieldBasicValue<FitFieldDateMode>,
    pub display_orientation: FitFieldBasicValue<FitFieldDisplayOrientation>,
    pub mounting_side: FitFieldBasicValue<FitFieldSide>,
    pub default_page: FitFieldBasicValue<FitUint16>,
    pub autosync_min_steps: FitFieldBasicValue<FitUint16>,
    pub autosync_min_time: FitFieldBasicValue<FitUint16>,
    pub lactate_threshold_autodetect_enabled: FitFieldBasicValue<FitBool>,
    pub ble_auto_upload_enabled: FitFieldBasicValue<FitBool>,
    pub auto_sync_frequency: FitFieldBasicValue<FitFieldAutoSyncFrequency>,
    pub auto_activity_detect: FitFieldBasicValue<FitFieldAutoActivityDetect>,
    pub number_of_screens: FitFieldBasicValue<FitUint8>,
    pub smart_notification_display_orientation: FitFieldBasicValue<FitFieldDisplayOrientation>,
    pub tap_interface: FitFieldBasicValue<FitFieldSwitch>,
    pub tap_sensitivity: FitFieldBasicValue<FitFieldTapSensitivity>,
    // some fields omitted
}

Fields

raw_bytes: Vec<u8>subfield_field_numbers: Vec<u8>message_name: &'static stractive_time_zone: FitFieldBasicValue<FitUint8>utc_offset: FitFieldBasicValue<FitUint32>time_offset: FitFieldBasicValue<FitUint32>time_mode: FitFieldBasicValue<FitFieldTimeMode>time_zone_offset: FitFieldAdjustedValue<FitSint8>backlight_mode: FitFieldBasicValue<FitFieldBacklightMode>activity_tracker_enabled: FitFieldBasicValue<FitBool>clock_time: FitFieldBasicValue<FitFieldDateTime>pages_enabled: FitFieldBasicValue<FitUint16>move_alert_enabled: FitFieldBasicValue<FitBool>date_mode: FitFieldBasicValue<FitFieldDateMode>display_orientation: FitFieldBasicValue<FitFieldDisplayOrientation>mounting_side: FitFieldBasicValue<FitFieldSide>default_page: FitFieldBasicValue<FitUint16>autosync_min_steps: FitFieldBasicValue<FitUint16>autosync_min_time: FitFieldBasicValue<FitUint16>lactate_threshold_autodetect_enabled: FitFieldBasicValue<FitBool>ble_auto_upload_enabled: FitFieldBasicValue<FitBool>auto_sync_frequency: FitFieldBasicValue<FitFieldAutoSyncFrequency>auto_activity_detect: FitFieldBasicValue<FitFieldAutoActivityDetect>number_of_screens: FitFieldBasicValue<FitUint8>smart_notification_display_orientation: FitFieldBasicValue<FitFieldDisplayOrientation>tap_interface: FitFieldBasicValue<FitFieldSwitch>tap_sensitivity: FitFieldBasicValue<FitFieldTapSensitivity>

Implementations

impl FitMessageDeviceSettings[src]

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

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

Trait Implementations

impl Debug for FitMessageDeviceSettings[src]

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