pub struct MISSION_WRITE_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
ardupilotmega
only.Expand description
id: 38 This message is sent to the MAV to write a partial list. If start index == end index, only one item will be transmitted / updated. If the start index is NOT 0 and above the current list size, this request should be REJECTED!.
Fields§
§start_index: i16
Start index. Must be smaller / equal to the largest index of the current onboard list..
end_index: i16
End index, equal or greater than start index..
target_system: u8
System ID.
target_component: u8
Component ID.
mission_type: MavMissionType
Mission type..
Implementations§
source§impl MISSION_WRITE_PARTIAL_LIST_DATA
impl MISSION_WRITE_PARTIAL_LIST_DATA
pub const ENCODED_LEN: usize = 7usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for MISSION_WRITE_PARTIAL_LIST_DATA
impl Clone for MISSION_WRITE_PARTIAL_LIST_DATA
source§fn clone(&self) -> MISSION_WRITE_PARTIAL_LIST_DATA
fn clone(&self) -> MISSION_WRITE_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_WRITE_PARTIAL_LIST_DATA
impl<'de> Deserialize<'de> for MISSION_WRITE_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_WRITE_PARTIAL_LIST_DATA
impl MessageData for MISSION_WRITE_PARTIAL_LIST_DATA
const ID: u32 = 38u32
const NAME: &'static str = "MISSION_WRITE_PARTIAL_LIST"
const EXTRA_CRC: u8 = 9u8
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_WRITE_PARTIAL_LIST_DATA
impl PartialEq for MISSION_WRITE_PARTIAL_LIST_DATA
source§fn eq(&self, other: &MISSION_WRITE_PARTIAL_LIST_DATA) -> bool
fn eq(&self, other: &MISSION_WRITE_PARTIAL_LIST_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MISSION_WRITE_PARTIAL_LIST_DATA
Auto Trait Implementations§
impl Freeze for MISSION_WRITE_PARTIAL_LIST_DATA
impl RefUnwindSafe for MISSION_WRITE_PARTIAL_LIST_DATA
impl Send for MISSION_WRITE_PARTIAL_LIST_DATA
impl Sync for MISSION_WRITE_PARTIAL_LIST_DATA
impl Unpin for MISSION_WRITE_PARTIAL_LIST_DATA
impl UnwindSafe for MISSION_WRITE_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
)