pub struct OPEN_DRONE_ID_LOCATION_DATA {Show 19 fields
pub latitude: i32,
pub longitude: i32,
pub altitude_barometric: f32,
pub altitude_geodetic: f32,
pub height: f32,
pub timestamp: f32,
pub direction: u16,
pub speed_horizontal: u16,
pub speed_vertical: i16,
pub target_system: u8,
pub target_component: u8,
pub id_or_mac: [u8; 20],
pub status: MavOdidStatus,
pub height_reference: MavOdidHeightRef,
pub horizontal_accuracy: MavOdidHorAcc,
pub vertical_accuracy: MavOdidVerAcc,
pub barometer_accuracy: MavOdidVerAcc,
pub speed_accuracy: MavOdidSpeedAcc,
pub timestamp_accuracy: MavOdidTimeAcc,
}
Fields§
§latitude: i32
§longitude: i32
§altitude_barometric: f32
§altitude_geodetic: f32
§height: f32
§timestamp: f32
§direction: u16
§speed_horizontal: u16
§speed_vertical: i16
§target_system: u8
§target_component: u8
§id_or_mac: [u8; 20]
§status: MavOdidStatus
§height_reference: MavOdidHeightRef
§horizontal_accuracy: MavOdidHorAcc
§vertical_accuracy: MavOdidVerAcc
§barometer_accuracy: MavOdidVerAcc
§speed_accuracy: MavOdidSpeedAcc
§timestamp_accuracy: MavOdidTimeAcc
Implementations§
source§impl OPEN_DRONE_ID_LOCATION_DATA
impl OPEN_DRONE_ID_LOCATION_DATA
pub const ENCODED_LEN: usize = 59usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for OPEN_DRONE_ID_LOCATION_DATA
impl Clone for OPEN_DRONE_ID_LOCATION_DATA
source§fn clone(&self) -> OPEN_DRONE_ID_LOCATION_DATA
fn clone(&self) -> OPEN_DRONE_ID_LOCATION_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 OPEN_DRONE_ID_LOCATION_DATA
impl Debug for OPEN_DRONE_ID_LOCATION_DATA
source§impl<'de> Deserialize<'de> for OPEN_DRONE_ID_LOCATION_DATA
impl<'de> Deserialize<'de> for OPEN_DRONE_ID_LOCATION_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 OPEN_DRONE_ID_LOCATION_DATA
impl MessageData for OPEN_DRONE_ID_LOCATION_DATA
type Message = MavMessage
const ID: u32 = 12_901u32
const NAME: &'static str = "OPEN_DRONE_ID_LOCATION"
const EXTRA_CRC: u8 = 254u8
const ENCODED_LEN: usize = 59usize
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_LOCATION_DATA
impl PartialEq for OPEN_DRONE_ID_LOCATION_DATA
source§fn eq(&self, other: &OPEN_DRONE_ID_LOCATION_DATA) -> bool
fn eq(&self, other: &OPEN_DRONE_ID_LOCATION_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OPEN_DRONE_ID_LOCATION_DATA
Auto Trait Implementations§
impl Freeze for OPEN_DRONE_ID_LOCATION_DATA
impl RefUnwindSafe for OPEN_DRONE_ID_LOCATION_DATA
impl Send for OPEN_DRONE_ID_LOCATION_DATA
impl Sync for OPEN_DRONE_ID_LOCATION_DATA
impl Unpin for OPEN_DRONE_ID_LOCATION_DATA
impl UnwindSafe for OPEN_DRONE_ID_LOCATION_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
)