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
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!.
ID: 38
Fields§
§start_index: i16Start index. Must be smaller / equal to the largest index of the current onboard list.
end_index: i16End index, equal or greater than start index.
target_system: u8System ID
target_component: u8Component ID
mission_type: MavMissionTypeMission 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 duplicate 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
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