pub struct MsgSsrFlagSatellites {
pub sender_id: Option<u16>,
pub obs_time: GpsTimeSec,
pub num_msgs: u8,
pub seq_num: u8,
pub ssr_sol_id: u8,
pub chain_id: u8,
pub const_id: u8,
pub n_faulty_sats: u8,
pub faulty_sats: Vec<u8>,
}
Expand description
List of satellites which are faulty, per constellation
Fields§
§sender_id: Option<u16>
The message sender_id
obs_time: GpsTimeSec
GNSS reference time of the observation used to generate the flag.
num_msgs: u8
Number of messages in the dataset
seq_num: u8
Position of this message in the dataset
ssr_sol_id: u8
SSR Solution ID.
chain_id: u8
Chain and type of flag.
const_id: u8
Constellation ID.
n_faulty_sats: u8
Number of faulty satellites.
faulty_sats: Vec<u8>
List of faulty satellites.
Trait Implementations§
source§impl Clone for MsgSsrFlagSatellites
impl Clone for MsgSsrFlagSatellites
source§fn clone(&self) -> MsgSsrFlagSatellites
fn clone(&self) -> MsgSsrFlagSatellites
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 ConcreteMessage for MsgSsrFlagSatellites
impl ConcreteMessage for MsgSsrFlagSatellites
source§const MESSAGE_TYPE: u16 = 3_005u16
const MESSAGE_TYPE: u16 = 3_005u16
The message type.
source§const MESSAGE_NAME: &'static str = "MSG_SSR_FLAG_SATELLITES"
const MESSAGE_NAME: &'static str = "MSG_SSR_FLAG_SATELLITES"
The message name.
source§impl Debug for MsgSsrFlagSatellites
impl Debug for MsgSsrFlagSatellites
source§impl<'de> Deserialize<'de> for MsgSsrFlagSatellites
impl<'de> Deserialize<'de> for MsgSsrFlagSatellites
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 FriendlyName for MsgSsrFlagSatellites
impl FriendlyName for MsgSsrFlagSatellites
fn friendly_name() -> &'static str
source§impl From<MsgSsrFlagSatellites> for Sbp
impl From<MsgSsrFlagSatellites> for Sbp
source§fn from(msg: MsgSsrFlagSatellites) -> Self
fn from(msg: MsgSsrFlagSatellites) -> Self
Converts to this type from the input type.
source§impl PartialEq for MsgSsrFlagSatellites
impl PartialEq for MsgSsrFlagSatellites
source§fn eq(&self, other: &MsgSsrFlagSatellites) -> bool
fn eq(&self, other: &MsgSsrFlagSatellites) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SbpMessage for MsgSsrFlagSatellites
impl SbpMessage for MsgSsrFlagSatellites
source§fn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
source§fn message_type(&self) -> Option<u16>
fn message_type(&self) -> Option<u16>
Get the message type.
source§fn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
source§fn is_valid(&self) -> bool
fn is_valid(&self) -> bool
Tells you if the message is valid or if it is not a valid message and may need to be
special cased at certain points.
fn into_valid_msg(self) -> Result<Self, Invalid>
source§fn gps_time(&self) -> Option<Result<MessageTime, GpsTimeError>>
fn gps_time(&self) -> Option<Result<MessageTime, GpsTimeError>>
Get the GPS time associated with the message.
source§fn friendly_name(&self) -> &'static str
fn friendly_name(&self) -> &'static str
Get friendly name associated with the message.
source§impl Serialize for MsgSsrFlagSatellites
impl Serialize for MsgSsrFlagSatellites
source§impl TryFrom<Sbp> for MsgSsrFlagSatellites
impl TryFrom<Sbp> for MsgSsrFlagSatellites
impl StructuralPartialEq for MsgSsrFlagSatellites
Auto Trait Implementations§
impl Freeze for MsgSsrFlagSatellites
impl RefUnwindSafe for MsgSsrFlagSatellites
impl Send for MsgSsrFlagSatellites
impl Sync for MsgSsrFlagSatellites
impl Unpin for MsgSsrFlagSatellites
impl UnwindSafe for MsgSsrFlagSatellites
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
source§impl<T> Event for Twhere
T: ConcreteMessage,
impl<T> Event for Twhere
T: ConcreteMessage,
source§const MESSAGE_TYPES: &'static [u16] = const MESSAGE_TYPES: &'static [u16] = &[T::MESSAGE_TYPE];
const MESSAGE_TYPES: &'static [u16] = const MESSAGE_TYPES: &'static [u16] = &[T::MESSAGE_TYPE];
The message types that correspond to this event. An empty slice means all messages.