[][src]Struct adafruit_gps::gps::GpsData

pub struct GpsData {
    pub utc: f64,
    pub latitude: Option<f32>,
    pub longitude: Option<f32>,
    pub altitude: Option<f32>,
    pub true_course: Option<f32>,
    pub mag_course: Option<f32>,
    pub speed_knots: Option<f32>,
    pub speed_kph: Option<f32>,
    pub geoidal_spe: Option<f32>,
    pub age_diff_corr: Option<f32>,
    pub sats_used: i32,
    pub pdop: Option<f32>,
    pub hdop: Option<f32>,
    pub vdop: Option<f32>,
    pub fix_quality: SatFix,
    pub satellites: Vec<Satellites>,
}

GpsData is the easy to use, out of the box data set that the update trait will give you.

Fields

utc: f64latitude: Option<f32>longitude: Option<f32>altitude: Option<f32>true_course: Option<f32>mag_course: Option<f32>speed_knots: Option<f32>speed_kph: Option<f32>geoidal_spe: Option<f32>age_diff_corr: Option<f32>sats_used: i32pdop: Option<f32>hdop: Option<f32>vdop: Option<f32>fix_quality: SatFixsatellites: Vec<Satellites>

Trait Implementations

impl Debug for GpsData[src]

impl Default for GpsData[src]

Auto Trait Implementations

impl RefUnwindSafe for GpsData

impl Send for GpsData

impl Sync for GpsData

impl Unpin for GpsData

impl UnwindSafe for GpsData

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.