pub struct MISSION_REQUEST_PARTIAL_LIST_DATA {
pub start_index: i16,
pub end_index: i16,
pub target_system: u8,
pub target_component: u8,
pub mission_type: MavMissionType,
}
Available on crate feature
cubepilot
only.Expand description
id: 37 Request a partial list of mission items from the system/component. https://mavlink.io/en/services/mission.html. If start and end index are the same, just send one waypoint..
Fields§
§start_index: i16
Start index.
end_index: i16
End index, -1 by default (-1: send list to end). Else a valid index of the list.
target_system: u8
System ID.
target_component: u8
Component ID.
mission_type: MavMissionType
Mission type..
Implementations§
source§impl MISSION_REQUEST_PARTIAL_LIST_DATA
impl MISSION_REQUEST_PARTIAL_LIST_DATA
pub const ENCODED_LEN: usize = 7usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for MISSION_REQUEST_PARTIAL_LIST_DATA
impl Clone for MISSION_REQUEST_PARTIAL_LIST_DATA
source§fn clone(&self) -> MISSION_REQUEST_PARTIAL_LIST_DATA
fn clone(&self) -> MISSION_REQUEST_PARTIAL_LIST_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<'de> Deserialize<'de> for MISSION_REQUEST_PARTIAL_LIST_DATA
impl<'de> Deserialize<'de> for MISSION_REQUEST_PARTIAL_LIST_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 MISSION_REQUEST_PARTIAL_LIST_DATA
impl MessageData for MISSION_REQUEST_PARTIAL_LIST_DATA
const ID: u32 = 37u32
const NAME: &'static str = "MISSION_REQUEST_PARTIAL_LIST"
const EXTRA_CRC: u8 = 212u8
const ENCODED_LEN: usize = 7usize
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 MISSION_REQUEST_PARTIAL_LIST_DATA
impl PartialEq for MISSION_REQUEST_PARTIAL_LIST_DATA
source§fn eq(&self, other: &MISSION_REQUEST_PARTIAL_LIST_DATA) -> bool
fn eq(&self, other: &MISSION_REQUEST_PARTIAL_LIST_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MISSION_REQUEST_PARTIAL_LIST_DATA
Auto Trait Implementations§
impl Freeze for MISSION_REQUEST_PARTIAL_LIST_DATA
impl RefUnwindSafe for MISSION_REQUEST_PARTIAL_LIST_DATA
impl Send for MISSION_REQUEST_PARTIAL_LIST_DATA
impl Sync for MISSION_REQUEST_PARTIAL_LIST_DATA
impl Unpin for MISSION_REQUEST_PARTIAL_LIST_DATA
impl UnwindSafe for MISSION_REQUEST_PARTIAL_LIST_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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)