Struct mavlink::common::TIME_ESTIMATE_TO_TARGET_DATA
source · pub struct TIME_ESTIMATE_TO_TARGET_DATA {
pub safe_return: i32,
pub land: i32,
pub mission_next_item: i32,
pub mission_end: i32,
pub commanded_action: i32,
}
common
only.Expand description
id: 380 Time/duration estimates for various events and actions given the current vehicle state and position..
Fields§
§safe_return: i32
Estimated time to complete the vehicle’s configured “safe return” action from its current position (e.g. RTL, Smart RTL, etc.). -1 indicates that the vehicle is landed, or that no time estimate available..
land: i32
Estimated time for vehicle to complete the LAND action from its current position. -1 indicates that the vehicle is landed, or that no time estimate available..
mission_next_item: i32
Estimated time for reaching/completing the currently active mission item. -1 means no time estimate available..
mission_end: i32
Estimated time for completing the current mission. -1 means no mission active and/or no estimate available..
commanded_action: i32
Estimated time for completing the current commanded action (i.e. Go To, Takeoff, Land, etc.). -1 means no action active and/or no estimate available..
Implementations§
source§impl TIME_ESTIMATE_TO_TARGET_DATA
impl TIME_ESTIMATE_TO_TARGET_DATA
pub const ENCODED_LEN: usize = 20usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for TIME_ESTIMATE_TO_TARGET_DATA
impl Clone for TIME_ESTIMATE_TO_TARGET_DATA
source§fn clone(&self) -> TIME_ESTIMATE_TO_TARGET_DATA
fn clone(&self) -> TIME_ESTIMATE_TO_TARGET_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 TIME_ESTIMATE_TO_TARGET_DATA
impl Debug for TIME_ESTIMATE_TO_TARGET_DATA
source§impl<'de> Deserialize<'de> for TIME_ESTIMATE_TO_TARGET_DATA
impl<'de> Deserialize<'de> for TIME_ESTIMATE_TO_TARGET_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 TIME_ESTIMATE_TO_TARGET_DATA
impl MessageData for TIME_ESTIMATE_TO_TARGET_DATA
const ID: u32 = 380u32
const NAME: &'static str = "TIME_ESTIMATE_TO_TARGET"
const EXTRA_CRC: u8 = 232u8
const ENCODED_LEN: usize = 20usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for TIME_ESTIMATE_TO_TARGET_DATA
impl PartialEq for TIME_ESTIMATE_TO_TARGET_DATA
source§fn eq(&self, other: &TIME_ESTIMATE_TO_TARGET_DATA) -> bool
fn eq(&self, other: &TIME_ESTIMATE_TO_TARGET_DATA) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TIME_ESTIMATE_TO_TARGET_DATA
Auto Trait Implementations§
impl Freeze for TIME_ESTIMATE_TO_TARGET_DATA
impl RefUnwindSafe for TIME_ESTIMATE_TO_TARGET_DATA
impl Send for TIME_ESTIMATE_TO_TARGET_DATA
impl Sync for TIME_ESTIMATE_TO_TARGET_DATA
impl Unpin for TIME_ESTIMATE_TO_TARGET_DATA
impl UnwindSafe for TIME_ESTIMATE_TO_TARGET_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
)