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() -> 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 ParamValueArray
impl Clone for ParamValueArray
Source§fn clone(&self) -> ParamValueArray
fn clone(&self) -> ParamValueArray
1.0.0 (const: unstable) · 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§fn default() -> ParamValueArray
fn default() -> ParamValueArray
Source§impl<'de> Deserialize<'de> for ParamValueArray
impl<'de> Deserialize<'de> for ParamValueArray
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParamValueArray, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParamValueArray, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Flatten for ParamValueArray
Source§impl From<ParamValueArray> for Storm32
impl From<ParamValueArray> for Storm32
Source§fn from(value: ParamValueArray) -> Storm32
fn from(value: ParamValueArray) -> Storm32
Source§impl IntoPayload for ParamValueArray
impl IntoPayload for ParamValueArray
impl Message 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() -> u32
fn message_id() -> u32
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§fn eq(&self, other: &ParamValueArray) -> bool
fn eq(&self, other: &ParamValueArray) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ParamValueArray
impl Serialize for ParamValueArray
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,
impl StructuralPartialEq 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.