Skip to main content

SkyView

Struct SkyView 

pub struct SkyView {
Show 15 fields pub device: Option<String>, pub geometric_dop: Option<f32>, pub horizontal_dop: Option<f32>, pub position_dop: Option<f32>, pub time_dop: Option<f32>, pub vertical_dop: Option<f32>, pub x_dop: Option<f32>, pub y_dop: Option<f32>, pub satellites: Vec<Satellite>, pub time: Option<DateTime<Utc>>, pub number_of_satellites: Option<u32>, pub pr: Option<f32>, pub pr_rate: Option<f32>, pub pr_res: Option<f32>, pub qual: Option<u8>,
}
Expand description

Sky view of the GPS satellite positions.

Fields§

§device: Option<String>

Name of the originating device.

§geometric_dop: Option<f32>

Geometric (hyperspherical) dilution of precision, a combination of PDOP and TDOP.

A dimensionless factor which should be multiplied by a base UERE to get an error estimate.

§horizontal_dop: Option<f32>

Horizontal dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get a circular error estimate.

§position_dop: Option<f32>

Position (spherical/3D) dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

§time_dop: Option<f32>

Time dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

§vertical_dop: Option<f32>

Vertical (altitude) dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate.

§x_dop: Option<f32>

Longitudinal dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate. A.k.a. Northing DOP.

§y_dop: Option<f32>

Latitudinal dilution of precision, a dimensionless factor which should be multiplied by a base UERE to get an error estimate. A.k.a. Easting DOP.

§satellites: Vec<Satellite>

List of satellite objects in skyview

§time: Option<DateTime<Utc>>

Time/date stamp in ISO8601 format, UTC.

May have a fractional part of up to .001sec precision.

§number_of_satellites: Option<u32>

Number of satellites used in navigation solution.

§pr: Option<f32>

Pseudorange, in meters.

§pr_rate: Option<f32>

Pseudorange Rate of Change, in meters / second.

§pr_res: Option<f32>

Pseudorange residue, in meters.

§qual: Option<u8>

Quality Indicator.

  • 0 = no signal
  • 1 = searching signal
  • 2 = signal acquired
  • 3 = signal detected but unusable
  • 4 = code locked and time synchronized
  • 5, 6, 7 = code and carrier locked and time synchronized

Trait Implementations§

§

impl Debug for SkyView

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for SkyView

§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Serialize for SkyView

§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.