pub struct MissionCount {
pub count: u16,
pub target_system: u8,
pub target_component: u8,
pub mission_type: u8,
pub opaque_id: u32,
}Expand description
MISSION_COUNT: announces how many items a mission transfer will contain, and which
plan (mission, geofence, or rally) the transfer carries.
Fields§
§count: u16§target_system: u8§target_component: u8§mission_type: u8§opaque_id: u32Implementations§
Trait Implementations§
Source§impl Clone for MissionCount
impl Clone for MissionCount
Source§fn clone(&self) -> MissionCount
fn clone(&self) -> MissionCount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MissionCount
Source§impl Debug for MissionCount
impl Debug for MissionCount
Source§impl Default for MissionCount
impl Default for MissionCount
Source§impl Message for MissionCount
impl Message for MissionCount
Source§const NAME: &'static str = "MISSION_COUNT"
const NAME: &'static str = "MISSION_COUNT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 221
const CRC_EXTRA: u8 = 221
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for MissionCount
impl PartialEq for MissionCount
Source§fn eq(&self, other: &MissionCount) -> bool
fn eq(&self, other: &MissionCount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MissionCount
Auto Trait Implementations§
impl Freeze for MissionCount
impl RefUnwindSafe for MissionCount
impl Send for MissionCount
impl Sync for MissionCount
impl Unpin for MissionCount
impl UnsafeUnpin for MissionCount
impl UnwindSafe for MissionCount
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