Struct sbp::messages::gnss::gnss_signal::GnssSignal
source · pub struct GnssSignal {
pub sat: u8,
pub code: u8,
}
Expand description
Represents all the relevant information about the signal
Signal identifier containing constellation, band, and satellite identifier.
Fields§
§sat: u8
Constellation-specific satellite id. For GLO can either be (100+FCN) where FCN is in [-7,+6] or the Slot ID in [1,28].
code: u8
Signal constellation, band and code
Implementations§
source§impl GnssSignal
impl GnssSignal
Trait Implementations§
source§impl Clone for GnssSignal
impl Clone for GnssSignal
source§fn clone(&self) -> GnssSignal
fn clone(&self) -> GnssSignal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GnssSignal
impl Debug for GnssSignal
source§impl<'de> Deserialize<'de> for GnssSignal
impl<'de> Deserialize<'de> for GnssSignal
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
source§impl PartialEq for GnssSignal
impl PartialEq for GnssSignal
source§fn eq(&self, other: &GnssSignal) -> bool
fn eq(&self, other: &GnssSignal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GnssSignal
impl Serialize for GnssSignal
source§impl TryFrom<GnssSignal> for GnssSignal
impl TryFrom<GnssSignal> for GnssSignal
§type Error = InvalidGnssSignal
type Error = InvalidGnssSignal
The type returned in the event of a conversion error.
source§fn try_from(value: GnssSignal) -> Result<GnssSignal, InvalidGnssSignal>
fn try_from(value: GnssSignal) -> Result<GnssSignal, InvalidGnssSignal>
Performs the conversion.
impl StructuralPartialEq for GnssSignal
Auto Trait Implementations§
impl Freeze for GnssSignal
impl RefUnwindSafe for GnssSignal
impl Send for GnssSignal
impl Sync for GnssSignal
impl Unpin for GnssSignal
impl UnwindSafe for GnssSignal
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