pub struct ParamValueArray {
pub param_count: u16,
pub param_index_first: u16,
pub param_array_len: u8,
pub flags: u16,
pub packet_buf: [u8; 248],
}Expand description
MAVLink PARAM_VALUE_ARRAY message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Parameter multi param value container.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ParamValueArray (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§param_count: u16MAVLink field param_count.
Total number of onboard parameters.
param_index_first: u16MAVLink field param_index_first.
Index of the first onboard parameter in this array.
param_array_len: u8MAVLink field param_array_len.
Number of onboard parameters in this array.
flags: u16MAVLink field flags.
Flags.
packet_buf: [u8; 248]MAVLink field packet_buf.
Parameters buffer. Contains a series of variable length parameter blocks, one per parameter, with format as specified elsewhere.
Implementations§
Source§impl ParamValueArray
impl ParamValueArray
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 ParamValueArray
impl Clone for ParamValueArray
Source§fn clone(&self) -> ParamValueArray
fn clone(&self) -> ParamValueArray
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ParamValueArray
impl Debug for ParamValueArray
Source§impl Default for ParamValueArray
impl Default for ParamValueArray
Source§impl<'de> Deserialize<'de> for ParamValueArray
impl<'de> Deserialize<'de> for ParamValueArray
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<ParamValueArray> for Storm32
impl From<ParamValueArray> for Storm32
Source§fn from(value: ParamValueArray) -> Self
fn from(value: ParamValueArray) -> Self
Source§impl IntoPayload for ParamValueArray
impl IntoPayload for ParamValueArray
Source§impl MessageSpec for ParamValueArray
impl MessageSpec for ParamValueArray
Source§impl MessageSpecStatic for ParamValueArray
impl MessageSpecStatic for ParamValueArray
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 ParamValueArray
impl NamedType for ParamValueArray
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 ParamValueArray
impl PartialEq for ParamValueArray
Source§impl Serialize for ParamValueArray
impl Serialize for ParamValueArray
Source§impl TryFrom<&Payload> for ParamValueArray
impl TryFrom<&Payload> for ParamValueArray
Source§impl Type for ParamValueArray
impl Type for ParamValueArray
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.