pub struct ParamExtValue {
pub param_id: [u8; 16],
pub param_value: [u8; 128],
pub param_type: MavParamExtType,
pub param_count: u16,
pub param_index: u16,
}Expand description
MAVLink PARAM_EXT_VALUE message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Emit the value of a parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows them to re-request missing parameters after a loss or timeout.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ParamExtValue (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
param_type: MavParamExtTypeMAVLink field param_type.
Parameter type.
param_count: u16MAVLink field param_count.
Total number of parameters
param_index: u16MAVLink field param_index.
Index of this parameter
Implementations§
Source§impl ParamExtValue
impl ParamExtValue
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 ParamExtValue
impl Clone for ParamExtValue
Source§fn clone(&self) -> ParamExtValue
fn clone(&self) -> ParamExtValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ParamExtValue
impl Debug for ParamExtValue
Source§impl Default for ParamExtValue
impl Default for ParamExtValue
Source§impl<'de> Deserialize<'de> for ParamExtValue
impl<'de> Deserialize<'de> for ParamExtValue
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<ParamExtValue> for Common
impl From<ParamExtValue> for Common
Source§fn from(value: ParamExtValue) -> Self
fn from(value: ParamExtValue) -> Self
Source§impl IntoPayload for ParamExtValue
impl IntoPayload for ParamExtValue
Source§impl MessageSpec for ParamExtValue
impl MessageSpec for ParamExtValue
Source§impl MessageSpecStatic for ParamExtValue
impl MessageSpecStatic for ParamExtValue
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 ParamExtValue
impl NamedType for ParamExtValue
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 ParamExtValue
impl PartialEq for ParamExtValue
Source§impl Serialize for ParamExtValue
impl Serialize for ParamExtValue
Source§impl TryFrom<&Payload> for ParamExtValue
impl TryFrom<&Payload> for ParamExtValue
Source§impl Type for ParamExtValue
impl Type for ParamExtValue
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.