Struct titanic::parser::GgaSentence [−][src]
pub struct GgaSentence { pub talker_id: [u8; 2], pub utc: NaiveTime, pub lat: Option<f64>, pub long: Option<f64>, pub gps_qlty: GpsQualityInd, pub sat_view: u64, pub hdop: Option<f64>, pub altitude: Option<f64>, pub geo_sep: Option<f64>, pub age: Option<f64>, pub station_id: Option<u32>, }
Represents a correct GGA sentence and will usually be created by a GgaParser
Fields
talker_id: [u8; 2]
Talker id contained in the header of every sentence.
utc: NaiveTime
Universal Time Coordinated (UTC)
lat: Option<f64>
Latitude in decimal degrees. A positive value indicates that the coordinate is in the northern hemisphere. A negative value indicates that the coordinate is in the southern hemisphere.
long: Option<f64>
Longitude in decimal degrees. A positive value indicates that the coordinate is in the eastern hemisphere. A negative value indicates that the coordinate is in the western hemisphere.
gps_qlty: GpsQualityInd
Indicates the quality of the gps data.
sat_view: u64
Number of satellites in view.
hdop: Option<f64>
Horizontal dilution of precision (meters)
altitude: Option<f64>
Antenna Altitude above/below mean-sea-level (geoid) (in meters)
geo_sep: Option<f64>
Geoidal separation, the difference between the WGS-84 earth ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level below ellipsoid
age: Option<f64>
Age of differential GPS data, time in seconds since last SC104 type 1 or 9 update, null field when DGPS is not used
station_id: Option<u32>
Differential reference station ID, 0000-1023
Trait Implementations
impl Debug for GgaSentence
[src]
impl Debug for GgaSentence
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GgaSentence
[src]
impl PartialEq for GgaSentence
fn eq(&self, other: &GgaSentence) -> bool
[src]
fn eq(&self, other: &GgaSentence) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GgaSentence) -> bool
[src]
fn ne(&self, other: &GgaSentence) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for GgaSentence
impl Send for GgaSentence
impl Sync for GgaSentence
impl Sync for GgaSentence