Enum garminfit::profile::messages::DiveSettings
source · 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
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DiveSettings
impl Send for DiveSettings
impl Sync for DiveSettings
impl Unpin for DiveSettings
impl UnwindSafe for DiveSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more