Struct mavlink::matrixpilot::NAMED_VALUE_INT_DATA
source · pub struct NAMED_VALUE_INT_DATA {
pub time_boot_ms: u32,
pub value: i32,
pub name: [u8; 10],
}
Available on crate feature
matrixpilot
only.Expand description
id: 252 Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output..
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
value: i32
Signed integer value.
name: [u8; 10]
Name of the debug variable.
Implementations§
source§impl NAMED_VALUE_INT_DATA
impl NAMED_VALUE_INT_DATA
pub const ENCODED_LEN: usize = 18usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for NAMED_VALUE_INT_DATA
impl Clone for NAMED_VALUE_INT_DATA
source§fn clone(&self) -> NAMED_VALUE_INT_DATA
fn clone(&self) -> NAMED_VALUE_INT_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 Debug for NAMED_VALUE_INT_DATA
impl Debug for NAMED_VALUE_INT_DATA
source§impl Default for NAMED_VALUE_INT_DATA
impl Default for NAMED_VALUE_INT_DATA
source§impl<'de> Deserialize<'de> for NAMED_VALUE_INT_DATA
impl<'de> Deserialize<'de> for NAMED_VALUE_INT_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 NAMED_VALUE_INT_DATA
impl MessageData for NAMED_VALUE_INT_DATA
const ID: u32 = 252u32
const NAME: &'static str = "NAMED_VALUE_INT"
const EXTRA_CRC: u8 = 44u8
const ENCODED_LEN: usize = 18usize
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 NAMED_VALUE_INT_DATA
impl PartialEq for NAMED_VALUE_INT_DATA
source§impl Serialize for NAMED_VALUE_INT_DATA
impl Serialize for NAMED_VALUE_INT_DATA
impl StructuralPartialEq for NAMED_VALUE_INT_DATA
Auto Trait Implementations§
impl Freeze for NAMED_VALUE_INT_DATA
impl RefUnwindSafe for NAMED_VALUE_INT_DATA
impl Send for NAMED_VALUE_INT_DATA
impl Sync for NAMED_VALUE_INT_DATA
impl Unpin for NAMED_VALUE_INT_DATA
impl UnwindSafe for NAMED_VALUE_INT_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
)