pub struct ParamExtAck {
pub param_id: [u8; 16],
pub param_value: [u8; 128],
pub param_type: MavParamExtType,
pub param_result: ParamAck,
}Expand description
MAVLink PARAM_EXT_ACK message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Response from a PARAM_EXT_SET message.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ParamExtAck (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§param_id: [u8; 16]MAVLink field param_id.
Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string
param_value: [u8; 128]MAVLink field param_value.
Parameter value (new value if PARAM_ACK_ACCEPTED, current value otherwise)
param_type: MavParamExtTypeMAVLink field param_type.
Parameter type.
param_result: ParamAckMAVLink field param_result.
Result code.
Implementations§
Source§impl ParamExtAck
impl ParamExtAck
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
pub const fn message_id() -> u32
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for ParamExtAck
impl Clone for ParamExtAck
Source§fn clone(&self) -> ParamExtAck
fn clone(&self) -> ParamExtAck
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ParamExtAck
impl Debug for ParamExtAck
Source§impl Default for ParamExtAck
impl Default for ParamExtAck
Source§fn default() -> ParamExtAck
fn default() -> ParamExtAck
Source§impl<'de> Deserialize<'de> for ParamExtAck
impl<'de> Deserialize<'de> for ParamExtAck
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParamExtAck, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParamExtAck, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<ParamExtAck> for Common
impl From<ParamExtAck> for Common
Source§fn from(value: ParamExtAck) -> Common
fn from(value: ParamExtAck) -> Common
Source§impl IntoPayload for ParamExtAck
impl IntoPayload for ParamExtAck
Source§impl MessageSpec for ParamExtAck
impl MessageSpec for ParamExtAck
Source§impl MessageSpecStatic for ParamExtAck
impl MessageSpecStatic for ParamExtAck
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> u32
fn message_id() -> u32
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for ParamExtAck
impl NamedType for ParamExtAck
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for ParamExtAck
impl PartialEq for ParamExtAck
Source§impl Serialize for ParamExtAck
impl Serialize for ParamExtAck
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl TryFrom<&Payload> for ParamExtAck
impl TryFrom<&Payload> for ParamExtAck
Source§impl Type for ParamExtAck
impl Type for ParamExtAck
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.