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: CharArray<16>,
pub config_type: OsdParamConfigType,
}Available on crate feature
storm32 only.Expand description
Read configured OSD parameter reply.
ID: 11036
Fields§
§request_id: u32Request ID - copied from request.
min_value: f32OSD parameter minimum value.
max_value: f32OSD parameter maximum value.
increment: f32OSD parameter increment.
result: OsdParamConfigErrorConfig error type.
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
config_type: OsdParamConfigTypeConfig 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 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<'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
Source§fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
Errors Read more
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