[−][src]Struct gpsd_proto::Tpv
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.
status: Option<i32>
GPS fix status.
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Tpv
impl Send for Tpv
impl Sync for Tpv
impl Unpin for Tpv
impl UnwindSafe for Tpv
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,