[][src]Struct gpsd_proto::Tpv

pub struct Tpv {
    pub device: Option<String>,
    pub mode: Mode,
    pub time: Option<String>,
    pub ept: Option<f32>,
    pub lat: Option<f64>,
    pub lon: Option<f64>,
    pub alt: Option<f32>,
    pub epx: Option<f32>,
    pub epy: Option<f32>,
    pub epv: Option<f32>,
    pub track: Option<f32>,
    pub speed: Option<f32>,
    pub climb: Option<f32>,
    pub epd: Option<f32>,
    pub eps: Option<f32>,
    pub epc: Option<f32>,
}

GPS position.

A TPV object is a time-position-velocity report. The "mode" field will be emitted before optional fields that may be absent when there is no fix. Error estimates will be emitted after the fix components they're associated with. Others may be reported or not depending on the fix quality.

Fields

device: Option<String>

Name of the originating device.

mode: Mode

NMEA mode, see Mode enum.

time: Option<String>

Time/date stamp in ISO8601 format, UTC. May have a fractional part of up to .001sec precision. May be absent if mode is not 2 or 3.

ept: Option<f32>

Estimated timestamp error (%f, seconds, 95% confidence). Present if time is present.

lat: Option<f64>

Latitude in degrees: +/- signifies North/South. Present when mode is 2 or 3.

lon: Option<f64>

Longitude in degrees: +/- signifies East/West. Present when mode is 2 or 3.

alt: Option<f32>

Altitude in meters. Present if mode is 3.

epx: Option<f32>

Longitude error estimate in meters, 95% confidence. Present if mode is 2 or 3 and DOPs can be calculated from the satellite view.

epy: Option<f32>

Latitude error estimate in meters, 95% confidence. Present if mode is 2 or 3 and DOPs can be calculated from the satellite view.

epv: Option<f32>

Estimated vertical error in meters, 95% confidence. Present if mode is 3 and DOPs can be calculated from the satellite view.

track: Option<f32>

Course over ground, degrees from true north.

speed: Option<f32>

Speed over ground, meters per second.

climb: Option<f32>

Climb (positive) or sink (negative) rate, meters per second.

epd: Option<f32>

Direction error estimate in degrees, 95% confidence.

eps: Option<f32>

Speed error estinmate in meters/sec, 95% confidence.

epc: Option<f32>

Climb/sink error estimate in meters/sec, 95% confidence.

Trait Implementations

impl Debug for Tpv[src]

impl<'de> Deserialize<'de> for Tpv[src]

Auto Trait Implementations

impl Unpin for Tpv

impl Sync for Tpv

impl Send for Tpv

impl UnwindSafe for Tpv

impl RefUnwindSafe for Tpv

Blanket Implementations

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]