Struct sbp::messages::tracking::msg_measurement_state::MsgMeasurementState
source · pub struct MsgMeasurementState {
pub sender_id: Option<u16>,
pub states: Vec<MeasurementState>,
}
Expand description
Measurement Engine signal tracking channel states
The tracking message returns a variable-length array of tracking channel states. It reports status and carrier-to-noise density measurements for all tracked satellites.
Fields§
§sender_id: Option<u16>
The message sender_id
states: Vec<MeasurementState>
ME signal tracking channel state
Trait Implementations§
source§impl Clone for MsgMeasurementState
impl Clone for MsgMeasurementState
source§fn clone(&self) -> MsgMeasurementState
fn clone(&self) -> MsgMeasurementState
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 MsgMeasurementState
impl ConcreteMessage for MsgMeasurementState
source§const MESSAGE_TYPE: u16 = 97u16
const MESSAGE_TYPE: u16 = 97u16
The message type.
source§const MESSAGE_NAME: &'static str = "MSG_MEASUREMENT_STATE"
const MESSAGE_NAME: &'static str = "MSG_MEASUREMENT_STATE"
The message name.
source§impl Debug for MsgMeasurementState
impl Debug for MsgMeasurementState
source§impl<'de> Deserialize<'de> for MsgMeasurementState
impl<'de> Deserialize<'de> for MsgMeasurementState
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 MsgMeasurementState
impl FriendlyName for MsgMeasurementState
fn friendly_name() -> &'static str
source§impl From<MsgMeasurementState> for Sbp
impl From<MsgMeasurementState> for Sbp
source§fn from(msg: MsgMeasurementState) -> Self
fn from(msg: MsgMeasurementState) -> Self
Converts to this type from the input type.
source§impl PartialEq for MsgMeasurementState
impl PartialEq for MsgMeasurementState
source§fn eq(&self, other: &MsgMeasurementState) -> bool
fn eq(&self, other: &MsgMeasurementState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SbpMessage for MsgMeasurementState
impl SbpMessage for MsgMeasurementState
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 MsgMeasurementState
impl Serialize for MsgMeasurementState
source§impl TryFrom<Sbp> for MsgMeasurementState
impl TryFrom<Sbp> for MsgMeasurementState
impl StructuralPartialEq for MsgMeasurementState
Auto Trait Implementations§
impl Freeze for MsgMeasurementState
impl RefUnwindSafe for MsgMeasurementState
impl Send for MsgMeasurementState
impl Sync for MsgMeasurementState
impl Unpin for MsgMeasurementState
impl UnwindSafe for MsgMeasurementState
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.