pub struct PARAM_ERROR_DATA {
pub param_index: i16,
pub target_system: u8,
pub target_component: u8,
pub param_id: CharArray<16>,
pub error: MavParamError,
}Available on crate feature
stemstudios only.Expand description
Parameter set/get error. Returned from a MAVLink node in response to an error in the parameter protocol, for example failing to set a parameter because it does not exist.
ID: 345
Fields§
§param_index: i16Parameter index. Will be -1 if the param ID field should be used as an identifier (else the param id will be ignored)
target_system: u8System ID
target_component: u8Component ID
param_id: CharArray<16>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
error: MavParamErrorError being returned to client.
Implementations§
Source§impl PARAM_ERROR_DATA
impl PARAM_ERROR_DATA
pub const ENCODED_LEN: usize = 21usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for PARAM_ERROR_DATA
impl Clone for PARAM_ERROR_DATA
Source§fn clone(&self) -> PARAM_ERROR_DATA
fn clone(&self) -> PARAM_ERROR_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_ERROR_DATA
impl Debug for PARAM_ERROR_DATA
Source§impl Default for PARAM_ERROR_DATA
impl Default for PARAM_ERROR_DATA
Source§impl<'de> Deserialize<'de> for PARAM_ERROR_DATA
impl<'de> Deserialize<'de> for PARAM_ERROR_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_ERROR_DATA
impl MessageData for PARAM_ERROR_DATA
Source§impl PartialEq for PARAM_ERROR_DATA
impl PartialEq for PARAM_ERROR_DATA
Source§impl Serialize for PARAM_ERROR_DATA
impl Serialize for PARAM_ERROR_DATA
impl StructuralPartialEq for PARAM_ERROR_DATA
Auto Trait Implementations§
impl Freeze for PARAM_ERROR_DATA
impl RefUnwindSafe for PARAM_ERROR_DATA
impl Send for PARAM_ERROR_DATA
impl Sync for PARAM_ERROR_DATA
impl Unpin for PARAM_ERROR_DATA
impl UnwindSafe for PARAM_ERROR_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