pub enum DiveSettings {
Show 23 variants MessageIndex(Field<MessageIndex>), Name(Field<Utf8String>), Model(Field<TissueModelType>), GfLow(Field<Uint8>), GfHigh(Field<Uint8>), WaterType(Field<WaterType>), WaterDensity(Field<Float32>), Po2Warn(Field<Uint8>), Po2Critical(Field<Uint8>), Po2Deco(Field<Uint8>), SafetyStopEnabled(Field<Bool>), BottomDepth(Field<Float32>), BottomTime(Field<Uint32>), ApneaCountdownEnabled(Field<Bool>), ApneaCountdownTime(Field<Uint32>), BacklightMode(Field<DiveBacklightMode>), BacklightBrightness(Field<Uint8>), BacklightTimeout(Field<BacklightTimeout>), RepeatDiveInterval(Field<Uint16>), SafetyStopTime(Field<Uint16>), HeartRateSourceType(Field<SourceType>), HeartRateSource(Field<Uint8>), Unknown { data: Vec<u8>, field_def_num: u8, },
}

Variants

MessageIndex(Field<MessageIndex>)

Name(Field<Utf8String>)

Model(Field<TissueModelType>)

GfLow(Field<Uint8>)

GfHigh(Field<Uint8>)

WaterType(Field<WaterType>)

WaterDensity(Field<Float32>)

Fresh water is usually 1000; salt water is usually 1025

Po2Warn(Field<Uint8>)

Typically 1.40

Po2Critical(Field<Uint8>)

Typically 1.60

Po2Deco(Field<Uint8>)

SafetyStopEnabled(Field<Bool>)

BottomDepth(Field<Float32>)

BottomTime(Field<Uint32>)

ApneaCountdownEnabled(Field<Bool>)

ApneaCountdownTime(Field<Uint32>)

BacklightMode(Field<DiveBacklightMode>)

BacklightBrightness(Field<Uint8>)

BacklightTimeout(Field<BacklightTimeout>)

RepeatDiveInterval(Field<Uint16>)

Time between surfacing and ending the activity

SafetyStopTime(Field<Uint16>)

Time at safety stop (if enabled)

HeartRateSourceType(Field<SourceType>)

HeartRateSource(Field<Uint8>)

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.