Enum garminfit::profile::messages::BarometerData
source · pub enum BarometerData {
Timestamp(Field<DateTime>),
TimestampMs(Field<Uint16>),
SampleTimeOffset(Field<Uint16>),
BaroPres(Field<Uint32>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
Whole second part of the timestamp
TimestampMs(Field<Uint16>)
Millisecond part of the timestamp.
SampleTimeOffset(Field<Uint16>)
Each time in the array describes the time at which the barometer sample with the corrosponding index was taken. The samples may span across seconds. Array size must match the number of samples in baro_cal
BaroPres(Field<Uint32>)
These are the raw ADC reading. The samples may span across seconds. A conversion will need to be done on this data once read.
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BarometerData
impl Send for BarometerData
impl Sync for BarometerData
impl Unpin for BarometerData
impl UnwindSafe for BarometerData
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