Struct mavlink::uavionix::OPEN_DRONE_ID_SELF_ID_DATA
source · pub struct OPEN_DRONE_ID_SELF_ID_DATA {
pub target_system: u8,
pub target_component: u8,
pub id_or_mac: [u8; 20],
pub description_type: MavOdidDescType,
pub description: [u8; 23],
}
Expand description
id: 12903 Data for filling the OpenDroneID Self ID message. The Self ID Message is an opportunity for the operator to (optionally) declare their identity and purpose of the flight. This message can provide additional information that could reduce the threat profile of a UA (Unmanned Aircraft) flying in a particular area or manner. This message can also be used to provide optional additional clarification in an emergency/remote ID system failure situation..
Fields§
§target_system: u8
System ID (0 for broadcast)..
target_component: u8
Component ID (0 for broadcast)..
id_or_mac: [u8; 20]
Only used for drone ID data received from other UAs. See detailed description at https://mavlink.io/en/services/opendroneid.html..
description_type: MavOdidDescType
Indicates the type of the description field..
description: [u8; 23]
Text description or numeric value expressed as ASCII characters. Shall be filled with nulls in the unused portion of the field..
Implementations§
source§impl OPEN_DRONE_ID_SELF_ID_DATA
impl OPEN_DRONE_ID_SELF_ID_DATA
pub const ENCODED_LEN: usize = 46usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for OPEN_DRONE_ID_SELF_ID_DATA
impl Clone for OPEN_DRONE_ID_SELF_ID_DATA
source§fn clone(&self) -> OPEN_DRONE_ID_SELF_ID_DATA
fn clone(&self) -> OPEN_DRONE_ID_SELF_ID_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OPEN_DRONE_ID_SELF_ID_DATA
impl Debug for OPEN_DRONE_ID_SELF_ID_DATA
source§impl Default for OPEN_DRONE_ID_SELF_ID_DATA
impl Default for OPEN_DRONE_ID_SELF_ID_DATA
source§impl<'de> Deserialize<'de> for OPEN_DRONE_ID_SELF_ID_DATA
impl<'de> Deserialize<'de> for OPEN_DRONE_ID_SELF_ID_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>,
source§impl MessageData for OPEN_DRONE_ID_SELF_ID_DATA
impl MessageData for OPEN_DRONE_ID_SELF_ID_DATA
type Message = MavMessage
const ID: u32 = 12_903u32
const NAME: &'static str = "OPEN_DRONE_ID_SELF_ID"
const EXTRA_CRC: u8 = 249u8
const ENCODED_LEN: usize = 46usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for OPEN_DRONE_ID_SELF_ID_DATA
impl PartialEq for OPEN_DRONE_ID_SELF_ID_DATA
source§fn eq(&self, other: &OPEN_DRONE_ID_SELF_ID_DATA) -> bool
fn eq(&self, other: &OPEN_DRONE_ID_SELF_ID_DATA) -> bool
self
and other
values to be equal, and is used
by ==
.