Struct mavlink::development::AUTOPILOT_VERSION_DATA
source · pub struct AUTOPILOT_VERSION_DATA {
pub capabilities: MavProtocolCapability,
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],
}
Fields§
§capabilities: MavProtocolCapability
§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§
source§impl AUTOPILOT_VERSION_DATA
impl AUTOPILOT_VERSION_DATA
pub const ENCODED_LEN: usize = 60usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for AUTOPILOT_VERSION_DATA
impl Clone for AUTOPILOT_VERSION_DATA
source§fn clone(&self) -> AUTOPILOT_VERSION_DATA
fn clone(&self) -> AUTOPILOT_VERSION_DATA
Returns a copy 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 AUTOPILOT_VERSION_DATA
impl Debug for AUTOPILOT_VERSION_DATA
source§impl Default for AUTOPILOT_VERSION_DATA
impl Default for AUTOPILOT_VERSION_DATA
source§impl<'de> Deserialize<'de> for AUTOPILOT_VERSION_DATA
impl<'de> Deserialize<'de> for AUTOPILOT_VERSION_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 AUTOPILOT_VERSION_DATA
impl MessageData for AUTOPILOT_VERSION_DATA
type Message = MavMessage
const ID: u32 = 148u32
const NAME: &'static str = "AUTOPILOT_VERSION"
const EXTRA_CRC: u8 = 178u8
const ENCODED_LEN: usize = 60usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for AUTOPILOT_VERSION_DATA
impl PartialEq for AUTOPILOT_VERSION_DATA
source§fn eq(&self, other: &AUTOPILOT_VERSION_DATA) -> bool
fn eq(&self, other: &AUTOPILOT_VERSION_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AUTOPILOT_VERSION_DATA
impl Serialize for AUTOPILOT_VERSION_DATA
impl StructuralPartialEq for AUTOPILOT_VERSION_DATA
Auto Trait Implementations§
impl Freeze for AUTOPILOT_VERSION_DATA
impl RefUnwindSafe for AUTOPILOT_VERSION_DATA
impl Send for AUTOPILOT_VERSION_DATA
impl Sync for AUTOPILOT_VERSION_DATA
impl Unpin for AUTOPILOT_VERSION_DATA
impl UnwindSafe for AUTOPILOT_VERSION_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)