pub struct PARAM_VALUE_DATA {
    pub param_value: f32,
    pub param_count: u16,
    pub param_index: u16,
    pub param_id: CharArray<16>,
    pub param_type: MavParamType,
}Available on crate feature 
common only.Expand description
Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.
ID: 22
Fields§
§param_value: f32Onboard parameter value
param_count: u16Total number of onboard parameters
param_index: u16Index of this onboard parameter
param_id: CharArray<16>Onboard 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_type: MavParamTypeOnboard parameter type.
Implementations§
Source§impl PARAM_VALUE_DATA
 
impl PARAM_VALUE_DATA
pub const ENCODED_LEN: usize = 25usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for PARAM_VALUE_DATA
 
impl Clone for PARAM_VALUE_DATA
Source§fn clone(&self) -> PARAM_VALUE_DATA
 
fn clone(&self) -> PARAM_VALUE_DATA
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for PARAM_VALUE_DATA
 
impl Debug for PARAM_VALUE_DATA
Source§impl Default for PARAM_VALUE_DATA
 
impl Default for PARAM_VALUE_DATA
Source§impl<'de> Deserialize<'de> for PARAM_VALUE_DATA
 
impl<'de> Deserialize<'de> for PARAM_VALUE_DATA
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageData for PARAM_VALUE_DATA
 
impl MessageData for PARAM_VALUE_DATA
Source§impl PartialEq for PARAM_VALUE_DATA
 
impl PartialEq for PARAM_VALUE_DATA
Source§impl Serialize for PARAM_VALUE_DATA
 
impl Serialize for PARAM_VALUE_DATA
impl StructuralPartialEq for PARAM_VALUE_DATA
Auto Trait Implementations§
impl Freeze for PARAM_VALUE_DATA
impl RefUnwindSafe for PARAM_VALUE_DATA
impl Send for PARAM_VALUE_DATA
impl Sync for PARAM_VALUE_DATA
impl Unpin for PARAM_VALUE_DATA
impl UnwindSafe for PARAM_VALUE_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more