pub struct AutopilotVersion {
pub capabilities: u64,
pub uid: u64,
pub flight_sw_version: u32,
pub middleware_sw_version: u32,
pub os_sw_version: u32,
pub board_version: u32,
pub vendor_id: u16,
pub product_id: u16,
pub flight_custom_version: [u8; 8],
pub middleware_custom_version: [u8; 8],
pub os_custom_version: [u8; 8],
}Expand description
AUTOPILOT_VERSION: the autopilot’s capability flags and firmware versions.
Fields§
§capabilities: u64§uid: u64§flight_sw_version: u32§middleware_sw_version: u32§os_sw_version: u32§board_version: u32§vendor_id: u16§product_id: u16§flight_custom_version: [u8; 8]§middleware_custom_version: [u8; 8]§os_custom_version: [u8; 8]Implementations§
Trait Implementations§
Source§impl Clone for AutopilotVersion
impl Clone for AutopilotVersion
Source§fn clone(&self) -> AutopilotVersion
fn clone(&self) -> AutopilotVersion
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 AutopilotVersion
Source§impl Debug for AutopilotVersion
impl Debug for AutopilotVersion
Source§impl Default for AutopilotVersion
impl Default for AutopilotVersion
Source§impl Message for AutopilotVersion
impl Message for AutopilotVersion
Source§const NAME: &'static str = "AUTOPILOT_VERSION"
const NAME: &'static str = "AUTOPILOT_VERSION"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 178
const CRC_EXTRA: u8 = 178
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 AutopilotVersion
impl PartialEq for AutopilotVersion
Source§fn eq(&self, other: &AutopilotVersion) -> bool
fn eq(&self, other: &AutopilotVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutopilotVersion
Auto Trait Implementations§
impl Freeze for AutopilotVersion
impl RefUnwindSafe for AutopilotVersion
impl Send for AutopilotVersion
impl Sync for AutopilotVersion
impl Unpin for AutopilotVersion
impl UnsafeUnpin for AutopilotVersion
impl UnwindSafe for AutopilotVersion
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