[−][src]Struct mavlink::common::AUTOPILOT_VERSION_DATA
id: 148 Version and capability of autopilot software. This should be emitted in response to a request with MAV_CMD_REQUEST_MESSAGE..
Fields
capabilities: MavProtocolCapability
Bitmap of capabilities.
uid: u64
UID if provided by hardware (see uid2).
flight_sw_version: u32
Firmware version number.
middleware_sw_version: u32
Middleware version number.
os_sw_version: u32
Operating system version number.
board_version: u32
HW / board version (last 8 bytes should be silicon ID, if any).
vendor_id: u16
ID of the board vendor.
product_id: u16
ID of the product.
flight_custom_version: [u8; 8]
Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases..
middleware_custom_version: [u8; 8]
Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases..
os_custom_version: [u8; 8]
Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases..
uid2: [u8; 18]
UID if provided by hardware (supersedes the uid field. If this is non-zero, use this field, otherwise use uid).
Implementations
impl AUTOPILOT_VERSION_DATA
[src]
pub const ENCODED_LEN: usize
[src]
pub fn deser(
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
[src]
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
pub fn ser(&self) -> Vec<u8>
[src]
Trait Implementations
impl Clone for AUTOPILOT_VERSION_DATA
[src]
fn clone(&self) -> AUTOPILOT_VERSION_DATA
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AUTOPILOT_VERSION_DATA
[src]
impl Default for AUTOPILOT_VERSION_DATA
[src]
fn default() -> AUTOPILOT_VERSION_DATA
[src]
impl<'de> Deserialize<'de> for AUTOPILOT_VERSION_DATA
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AUTOPILOT_VERSION_DATA> for AUTOPILOT_VERSION_DATA
[src]
fn eq(&self, other: &AUTOPILOT_VERSION_DATA) -> bool
[src]
fn ne(&self, other: &AUTOPILOT_VERSION_DATA) -> bool
[src]
impl Serialize for AUTOPILOT_VERSION_DATA
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AUTOPILOT_VERSION_DATA
[src]
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,