pub struct OSD_PARAM_SHOW_CONFIG_REPLY_DATA {
pub request_id: u32,
pub min_value: f32,
pub max_value: f32,
pub increment: f32,
pub result: OsdParamConfigError,
pub param_id: [u8; 16],
pub config_type: OsdParamConfigType,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 11036 Read configured OSD parameter reply..
Fields§
§request_id: u32
Request ID - copied from request..
min_value: f32
OSD parameter minimum value..
max_value: f32
OSD parameter maximum value..
increment: f32
OSD parameter increment..
result: OsdParamConfigError
Config error type..
param_id: [u8; 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.
config_type: OsdParamConfigType
Config type..
Implementations§
source§impl OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl OSD_PARAM_SHOW_CONFIG_REPLY_DATA
pub const ENCODED_LEN: usize = 34usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl Clone for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
source§fn clone(&self) -> OSD_PARAM_SHOW_CONFIG_REPLY_DATA
fn clone(&self) -> OSD_PARAM_SHOW_CONFIG_REPLY_DATA
Returns a copy 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<'de> Deserialize<'de> for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl<'de> Deserialize<'de> for OSD_PARAM_SHOW_CONFIG_REPLY_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 OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl MessageData for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
const ID: u32 = 11_036u32
const NAME: &'static str = "OSD_PARAM_SHOW_CONFIG_REPLY"
const EXTRA_CRC: u8 = 177u8
const ENCODED_LEN: usize = 34usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl PartialEq for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
source§fn eq(&self, other: &OSD_PARAM_SHOW_CONFIG_REPLY_DATA) -> bool
fn eq(&self, other: &OSD_PARAM_SHOW_CONFIG_REPLY_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
Auto Trait Implementations§
impl Freeze for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl RefUnwindSafe for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl Send for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl Sync for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl Unpin for OSD_PARAM_SHOW_CONFIG_REPLY_DATA
impl UnwindSafe for OSD_PARAM_SHOW_CONFIG_REPLY_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)