pub struct MissionRequestInt {
pub seq: u16,
pub target_system: u8,
pub target_component: u8,
pub mission_type: u8,
}Expand description
MISSION_REQUEST_INT: requests one mission item by sequence number, with position
returned integer-encoded.
Fields§
§seq: u16§target_system: u8§target_component: u8§mission_type: u8Implementations§
Trait Implementations§
Source§impl Clone for MissionRequestInt
impl Clone for MissionRequestInt
Source§fn clone(&self) -> MissionRequestInt
fn clone(&self) -> MissionRequestInt
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 MissionRequestInt
Source§impl Debug for MissionRequestInt
impl Debug for MissionRequestInt
Source§impl Default for MissionRequestInt
impl Default for MissionRequestInt
Source§impl Message for MissionRequestInt
impl Message for MissionRequestInt
Source§const NAME: &'static str = "MISSION_REQUEST_INT"
const NAME: &'static str = "MISSION_REQUEST_INT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 196
const CRC_EXTRA: u8 = 196
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 MissionRequestInt
impl PartialEq for MissionRequestInt
Source§fn eq(&self, other: &MissionRequestInt) -> bool
fn eq(&self, other: &MissionRequestInt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MissionRequestInt
Auto Trait Implementations§
impl Freeze for MissionRequestInt
impl RefUnwindSafe for MissionRequestInt
impl Send for MissionRequestInt
impl Sync for MissionRequestInt
impl Unpin for MissionRequestInt
impl UnsafeUnpin for MissionRequestInt
impl UnwindSafe for MissionRequestInt
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