pub struct Sky {
pub device: Option<String>,
pub dop: Dop,
pub time: Option<DateTime<Utc>>,
pub n_sat: Option<i32>,
pub u_sat: Option<i32>,
pub satellites: Vec<Satellite>,
}Expand description
Satellite Sky View (SKY) report
The SKY message reports the satellites visible to the GPS receiver, including signal strength, elevation, azimuth, and usage status.
Fields§
§device: Option<String>Device path that provided this data
dop: DopDilution of precision values (flattened)
time: Option<DateTime<Utc>>GPS time of this sky view
n_sat: Option<i32>Number of satellites visible
u_sat: Option<i32>Number of satellites used in navigation solution
satellites: Vec<Satellite>List of visible satellites with their properties
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sky
impl<'de> Deserialize<'de> for Sky
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Sky
Auto Trait Implementations§
impl Freeze for Sky
impl RefUnwindSafe for Sky
impl Send for Sky
impl Sync for Sky
impl Unpin for Sky
impl UnwindSafe for Sky
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more