pub struct GgaSentence {
pub latitude: f64,
pub longitude: f64,
pub altitude: f64,
pub quality: u8,
pub num_satellites: u8,
pub hdop: f32,
}Expand description
GGA sentence builder for NTRIP position reporting.
Fields§
§latitude: f64Latitude in degrees (positive = North)
longitude: f64Longitude in degrees (positive = East)
altitude: f64Altitude above mean sea level in meters
quality: u8Fix quality (0=invalid, 1=GPS, 2=DGPS, 4=RTK fixed, 5=RTK float)
num_satellites: u8Number of satellites in use
hdop: f32Horizontal dilution of precision
Implementations§
Source§impl GgaSentence
impl GgaSentence
Trait Implementations§
Source§impl Clone for GgaSentence
impl Clone for GgaSentence
Source§fn clone(&self) -> GgaSentence
fn clone(&self) -> GgaSentence
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 Debug for GgaSentence
impl Debug for GgaSentence
Auto Trait Implementations§
impl Freeze for GgaSentence
impl RefUnwindSafe for GgaSentence
impl Send for GgaSentence
impl Sync for GgaSentence
impl Unpin for GgaSentence
impl UnwindSafe for GgaSentence
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