Struct Satellite
pub struct Satellite {
pub prn: i16,
pub elevation: Option<f32>,
pub azimuth: Option<f32>,
pub ss: Option<f32>,
pub used: bool,
pub gnss_id: Option<u8>,
pub satellite_id: Option<u8>,
pub signal_id: Option<u8>,
pub freq_id: Option<u8>,
pub health: Option<u8>,
}Expand description
Satellite object.
Fields§
§prn: i16PRN ID of the satellite.
See “PRN, GNSS id, SV id, and SIG id”
elevation: Option<f32>Elevation in degrees.
azimuth: Option<f32>Azimuth, degrees from true north.
ss: Option<f32>Signal to Noise ratio in dBHz.
used: boolUsed in current solution?
(SBAS/WAAS/EGNOS satellites may be flagged used if the solution has corrections from them, but not all drivers make this information available.)
gnss_id: Option<u8>The GNSS ID.
See “PRN, GNSS id, SV id, and SIG id”
satellite_id: Option<u8>The satellite ID (PRN) within its constellation.
signal_id: Option<u8>The signal ID of this signal.
See “PRN, GNSS id, SV id, and SIG id” u-blox, not NMEA. See u-blox doc for details.
freq_id: Option<u8>For GLONASS satellites only: the frequency ID of the signal.
As defined by u-blox, range 0 to 13. The freqid is the frequency slot plus 7.
health: Option<u8>The health of this satellite. 0 is unknown, 1 is OK, and 2 is unhealthy.
Trait Implementations§
§impl<'de> Deserialize<'de> for Satellite
impl<'de> Deserialize<'de> for Satellite
§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
Auto Trait Implementations§
impl Freeze for Satellite
impl RefUnwindSafe for Satellite
impl Send for Satellite
impl Sync for Satellite
impl Unpin for Satellite
impl UnsafeUnpin for Satellite
impl UnwindSafe for Satellite
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