[−][src]Struct mavlink::common::COMMAND_ACK_DATA
id: 77 Report status of a command. Includes feedback whether the command was executed. The command microservice is documented at https://mavlink.io/en/services/command.html.
Fields
command: MavCmd
Command ID (of acknowledged command)..
result: MavResult
Result of command..
progress: u8
WIP: Also used as result_param1, it can be set with a enum containing the errors reasons of why the command was denied or the progress percentage or 255 if unknown the progress when result is MAV_RESULT_IN_PROGRESS..
result_param2: i32
WIP: Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied..
target_system: u8
WIP: System which requested the command to be executed.
target_component: u8
WIP: Component which requested the command to be executed.
Implementations
impl COMMAND_ACK_DATA
[src]
pub const ENCODED_LEN: usize
[src]
pub fn deser(
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
[src]
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
pub fn ser(&self) -> Vec<u8>
[src]
Trait Implementations
impl Clone for COMMAND_ACK_DATA
[src]
fn clone(&self) -> COMMAND_ACK_DATA
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for COMMAND_ACK_DATA
[src]
impl Default for COMMAND_ACK_DATA
[src]
fn default() -> COMMAND_ACK_DATA
[src]
impl<'de> Deserialize<'de> for COMMAND_ACK_DATA
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<COMMAND_ACK_DATA> for COMMAND_ACK_DATA
[src]
fn eq(&self, other: &COMMAND_ACK_DATA) -> bool
[src]
fn ne(&self, other: &COMMAND_ACK_DATA) -> bool
[src]
impl Serialize for COMMAND_ACK_DATA
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for COMMAND_ACK_DATA
[src]
Auto Trait Implementations
impl RefUnwindSafe for COMMAND_ACK_DATA
impl Send for COMMAND_ACK_DATA
impl Sync for COMMAND_ACK_DATA
impl Unpin for COMMAND_ACK_DATA
impl UnwindSafe for COMMAND_ACK_DATA
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,