pub struct ParamExtRequestRead {
pub target_system: u8,
pub target_component: u8,
pub param_id: [u8; 16],
pub param_index: i16,
}Expand description
MAVLink PARAM_EXT_REQUEST_READ message.
Minimum supported MAVLink version is MAVLink 2.
§Description
Request to read the value of a parameter with either the param_id string id or param_index. PARAM_EXT_VALUE should be emitted in response.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ParamExtRequestRead (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§target_system: u8MAVLink field target_system.
System ID
target_component: u8MAVLink field target_component.
Component ID
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_index: i16MAVLink field param_index.
Parameter index. Set to -1 to use the Parameter ID field as identifier (else param_id will be ignored)
Implementations§
Source§impl ParamExtRequestRead
impl ParamExtRequestRead
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> MessageId
pub const fn message_id() -> MessageId
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 ParamExtRequestRead
impl Clone for ParamExtRequestRead
Source§fn clone(&self) -> ParamExtRequestRead
fn clone(&self) -> ParamExtRequestRead
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ParamExtRequestRead
impl Debug for ParamExtRequestRead
Source§impl Default for ParamExtRequestRead
impl Default for ParamExtRequestRead
Source§impl<'de> Deserialize<'de> for ParamExtRequestRead
impl<'de> Deserialize<'de> for ParamExtRequestRead
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>,
Source§impl From<ParamExtRequestRead> for Common
impl From<ParamExtRequestRead> for Common
Source§fn from(value: ParamExtRequestRead) -> Self
fn from(value: ParamExtRequestRead) -> Self
Source§impl IntoPayload for ParamExtRequestRead
impl IntoPayload for ParamExtRequestRead
Source§impl MessageSpec for ParamExtRequestRead
impl MessageSpec for ParamExtRequestRead
Source§impl MessageSpecStatic for ParamExtRequestRead
impl MessageSpecStatic for ParamExtRequestRead
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for ParamExtRequestRead
impl NamedType for ParamExtRequestRead
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 ParamExtRequestRead
impl PartialEq for ParamExtRequestRead
Source§impl Serialize for ParamExtRequestRead
impl Serialize for ParamExtRequestRead
Source§impl TryFrom<&Payload> for ParamExtRequestRead
impl TryFrom<&Payload> for ParamExtRequestRead
Source§impl Type for ParamExtRequestRead
impl Type for ParamExtRequestRead
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.