pub struct AVAILABLE_MODES_MONITOR_DATA {
pub seq: u8,
}
Available on crate feature
storm32
only.Expand description
id: 437 A change to the sequence number indicates that the set of AVAILABLE_MODES has changed. A receiver must re-request all available modes whenever the sequence number changes. This is only emitted after the first change and should then be broadcast at low rate (nominally 0.3 Hz) and on change. See https://mavlink.io/en/services/standard_modes.html.
Fields§
§seq: u8
Sequence number. The value iterates sequentially whenever AVAILABLE_MODES changes (e.g. support for a new mode is added/removed dynamically).
Implementations§
Source§impl AVAILABLE_MODES_MONITOR_DATA
impl AVAILABLE_MODES_MONITOR_DATA
pub const ENCODED_LEN: usize = 1usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for AVAILABLE_MODES_MONITOR_DATA
impl Clone for AVAILABLE_MODES_MONITOR_DATA
Source§fn clone(&self) -> AVAILABLE_MODES_MONITOR_DATA
fn clone(&self) -> AVAILABLE_MODES_MONITOR_DATA
Returns a duplicate 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 AVAILABLE_MODES_MONITOR_DATA
impl Debug for AVAILABLE_MODES_MONITOR_DATA
Source§impl<'de> Deserialize<'de> for AVAILABLE_MODES_MONITOR_DATA
impl<'de> Deserialize<'de> for AVAILABLE_MODES_MONITOR_DATA
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 MessageData for AVAILABLE_MODES_MONITOR_DATA
impl MessageData for AVAILABLE_MODES_MONITOR_DATA
const ID: u32 = 437u32
const NAME: &'static str = "AVAILABLE_MODES_MONITOR"
const EXTRA_CRC: u8 = 30u8
const ENCODED_LEN: usize = 1usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for AVAILABLE_MODES_MONITOR_DATA
impl PartialEq for AVAILABLE_MODES_MONITOR_DATA
Source§fn eq(&self, other: &AVAILABLE_MODES_MONITOR_DATA) -> bool
fn eq(&self, other: &AVAILABLE_MODES_MONITOR_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AVAILABLE_MODES_MONITOR_DATA
Auto Trait Implementations§
impl Freeze for AVAILABLE_MODES_MONITOR_DATA
impl RefUnwindSafe for AVAILABLE_MODES_MONITOR_DATA
impl Send for AVAILABLE_MODES_MONITOR_DATA
impl Sync for AVAILABLE_MODES_MONITOR_DATA
impl Unpin for AVAILABLE_MODES_MONITOR_DATA
impl UnwindSafe for AVAILABLE_MODES_MONITOR_DATA
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