pub struct GgaData {
pub fix_time: Option<NaiveTime>,
pub fix_type: Option<FixType>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub fix_satellites: Option<u32>,
pub hdop: Option<f32>,
pub altitude: Option<f32>,
pub geoid_separation: Option<f32>,
}
Expand description
GGA - Global Positioning System Fix Data
https://gpsd.gitlab.io/gpsd/NMEA.html#_gga_global_positioning_system_fix_data
11
1 2 3 4 5 6 7 8 9 10 | 12 13 14 15
| | | | | | | | | | | | | | |
$--GGA,hhmmss.ss,ddmm.mm,a,ddmm.mm,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>
Fields§
§fix_time: Option<NaiveTime>
§fix_type: Option<FixType>
§latitude: Option<f64>
§longitude: Option<f64>
§fix_satellites: Option<u32>
§hdop: Option<f32>
§altitude: Option<f32>
§geoid_separation: Option<f32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for GgaData
impl<'de> Deserialize<'de> for GgaData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<GgaData> for GgaData
impl PartialEq<GgaData> for GgaData
impl StructuralPartialEq for GgaData
Auto Trait Implementations§
impl RefUnwindSafe for GgaData
impl Send for GgaData
impl Sync for GgaData
impl Unpin for GgaData
impl UnwindSafe for GgaData
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