pub struct ParamRequestRead {
pub param_index: i16,
pub target_system: u8,
pub target_component: u8,
pub param_id: [u8; 16],
}Expand description
PARAM_REQUEST_READ: asks the vehicle for one onboard parameter, by name or index.
Fields§
§param_index: i16§target_system: u8§target_component: u8§param_id: [u8; 16]Implementations§
Trait Implementations§
Source§impl Clone for ParamRequestRead
impl Clone for ParamRequestRead
Source§fn clone(&self) -> ParamRequestRead
fn clone(&self) -> ParamRequestRead
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 ParamRequestRead
Source§impl Debug for ParamRequestRead
impl Debug for ParamRequestRead
Source§impl Default for ParamRequestRead
impl Default for ParamRequestRead
Source§impl Message for ParamRequestRead
impl Message for ParamRequestRead
Source§const NAME: &'static str = "PARAM_REQUEST_READ"
const NAME: &'static str = "PARAM_REQUEST_READ"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 214
const CRC_EXTRA: u8 = 214
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 ParamRequestRead
impl PartialEq for ParamRequestRead
Source§fn eq(&self, other: &ParamRequestRead) -> bool
fn eq(&self, other: &ParamRequestRead) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParamRequestRead
Auto Trait Implementations§
impl Freeze for ParamRequestRead
impl RefUnwindSafe for ParamRequestRead
impl Send for ParamRequestRead
impl Sync for ParamRequestRead
impl Unpin for ParamRequestRead
impl UnsafeUnpin for ParamRequestRead
impl UnwindSafe for ParamRequestRead
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