pub enum DeviceSettings {
Show 24 variants ActiveTimeZone(Field<Uint8>), UtcOffset(Field<Uint32>), TimeOffset(Field<Uint32>), TimeMode(Field<TimeMode>), TimeZoneOffset(Field<Sint8>), BacklightMode(Field<BacklightMode>), ActivityTrackerEnabled(Field<Bool>), ClockTime(Field<DateTime>), PagesEnabled(Field<Uint16>), MoveAlertEnabled(Field<Bool>), DateMode(Field<DateMode>), DisplayOrientation(Field<DisplayOrientation>), MountingSide(Field<Side>), DefaultPage(Field<Uint16>), AutosyncMinSteps(Field<Uint16>), AutosyncMinTime(Field<Uint16>), LactateThresholdAutodetectEnabled(Field<Bool>), BleAutoUploadEnabled(Field<Bool>), AutoSyncFrequency(Field<AutoSyncFrequency>), AutoActivityDetect(Field<AutoActivityDetect>), NumberOfScreens(Field<Uint8>), SmartNotificationDisplayOrientation(Field<DisplayOrientation>), TapInterface(Field<Switch>), Unknown { data: Vec<u8>, field_def_num: u8, },
}

Variants

ActiveTimeZone(Field<Uint8>)

Index into time zone arrays.

UtcOffset(Field<Uint32>)

Offset from system time. Required to convert timestamp from system time to UTC.

TimeOffset(Field<Uint32>)

Offset from system time.

TimeMode(Field<TimeMode>)

Display mode for the time

TimeZoneOffset(Field<Sint8>)

timezone offset in 1/4 hour increments

BacklightMode(Field<BacklightMode>)

Mode for backlight

ActivityTrackerEnabled(Field<Bool>)

Enabled state of the activity tracker functionality

ClockTime(Field<DateTime>)

UTC timestamp used to set the devices clock and date

PagesEnabled(Field<Uint16>)

Bitfield to configure enabled screens for each supported loop

MoveAlertEnabled(Field<Bool>)

Enabled state of the move alert

DateMode(Field<DateMode>)

Display mode for the date

DisplayOrientation(Field<DisplayOrientation>)

MountingSide(Field<Side>)

DefaultPage(Field<Uint16>)

Bitfield to indicate one page as default for each supported loop

AutosyncMinSteps(Field<Uint16>)

Minimum steps before an autosync can occur

AutosyncMinTime(Field<Uint16>)

Minimum minutes before an autosync can occur

LactateThresholdAutodetectEnabled(Field<Bool>)

Enable auto-detect setting for the lactate threshold feature.

BleAutoUploadEnabled(Field<Bool>)

Automatically upload using BLE

AutoSyncFrequency(Field<AutoSyncFrequency>)

Helps to conserve battery by changing modes

AutoActivityDetect(Field<AutoActivityDetect>)

Allows setting specific activities auto-activity detect enabled/disabled settings

NumberOfScreens(Field<Uint8>)

Number of screens configured to display

SmartNotificationDisplayOrientation(Field<DisplayOrientation>)

Smart Notification display orientation

TapInterface(Field<Switch>)

Unknown

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.