Enum garminfit::profile::messages::GpsMetadata
source · pub enum GpsMetadata {
Timestamp(Field<DateTime>),
TimestampMs(Field<Uint16>),
PositionLat(Field<Sint32>),
PositionLong(Field<Sint32>),
EnhancedAltitude(Field<Uint32>),
EnhancedSpeed(Field<Uint32>),
Heading(Field<Uint16>),
UtcTimestamp(Field<DateTime>),
Velocity(Field<Sint16>),
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.
PositionLat(Field<Sint32>)
PositionLong(Field<Sint32>)
EnhancedAltitude(Field<Uint32>)
EnhancedSpeed(Field<Uint32>)
Heading(Field<Uint16>)
UtcTimestamp(Field<DateTime>)
Used to correlate UTC to system time if the timestamp of the message is in system time. This UTC time is derived from the GPS data.
Velocity(Field<Sint16>)
velocity[0] is lon velocity. Velocity[1] is lat velocity. Velocity[2] is altitude velocity.
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GpsMetadata
impl Send for GpsMetadata
impl Sync for GpsMetadata
impl Unpin for GpsMetadata
impl UnwindSafe for GpsMetadata
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