Struct mavlink::common::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],
}
common
only.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
const ID: u32 = 12_903u32
const NAME: &'static str = "OPEN_DRONE_ID_SELF_ID"
const EXTRA_CRC: u8 = 249u8
const ENCODED_LEN: usize = 46usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for OPEN_DRONE_ID_SELF_ID_DATA
Auto Trait Implementations§
impl Freeze for OPEN_DRONE_ID_SELF_ID_DATA
impl RefUnwindSafe for OPEN_DRONE_ID_SELF_ID_DATA
impl Send for OPEN_DRONE_ID_SELF_ID_DATA
impl Sync for OPEN_DRONE_ID_SELF_ID_DATA
impl Unpin for OPEN_DRONE_ID_SELF_ID_DATA
impl UnwindSafe for OPEN_DRONE_ID_SELF_ID_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)