pub struct GnggaMessage {
pub utc_time: UtcTime,
pub latitude: f64,
pub longitude: f64,
pub fix: GpsFix,
pub altitude: f32,
pub timestamp_ms: u32,
}Fields§
§utc_time: UtcTimeUTC Time (HHMMSS.SS)
latitude: f64Latitude in decimal degrees (Positive = North, Negative = South)
longitude: f64Longitude in decimal degrees (Positive = East, Negative = West)
fix: GpsFixQuality of the fix
altitude: f32Altitude above mean sea level (Meters)
timestamp_ms: u32Trait Implementations§
Source§impl Clone for GnggaMessage
impl Clone for GnggaMessage
Source§fn clone(&self) -> GnggaMessage
fn clone(&self) -> GnggaMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Format for GnggaMessage
impl Format for GnggaMessage
Source§impl From<GnggaMessage> for GpsTx
impl From<GnggaMessage> for GpsTx
Source§fn from(d: GnggaMessage) -> Self
fn from(d: GnggaMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GnggaMessage
impl RefUnwindSafe for GnggaMessage
impl Send for GnggaMessage
impl Sync for GnggaMessage
impl Unpin for GnggaMessage
impl UnsafeUnpin for GnggaMessage
impl UnwindSafe for GnggaMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more