Struct mavlink::paparazzi::PROTOCOL_VERSION_DATA
source · pub struct PROTOCOL_VERSION_DATA {
pub version: u16,
pub min_version: u16,
pub max_version: u16,
pub spec_version_hash: [u8; 8],
pub library_version_hash: [u8; 8],
}
Fields§
§version: u16
§min_version: u16
§max_version: u16
§spec_version_hash: [u8; 8]
§library_version_hash: [u8; 8]
Implementations§
source§impl PROTOCOL_VERSION_DATA
impl PROTOCOL_VERSION_DATA
pub const ENCODED_LEN: usize = 22usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for PROTOCOL_VERSION_DATA
impl Clone for PROTOCOL_VERSION_DATA
source§fn clone(&self) -> PROTOCOL_VERSION_DATA
fn clone(&self) -> PROTOCOL_VERSION_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 PROTOCOL_VERSION_DATA
impl Debug for PROTOCOL_VERSION_DATA
source§impl Default for PROTOCOL_VERSION_DATA
impl Default for PROTOCOL_VERSION_DATA
source§impl<'de> Deserialize<'de> for PROTOCOL_VERSION_DATA
impl<'de> Deserialize<'de> for PROTOCOL_VERSION_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 PROTOCOL_VERSION_DATA
impl MessageData for PROTOCOL_VERSION_DATA
type Message = MavMessage
const ID: u32 = 300u32
const NAME: &'static str = "PROTOCOL_VERSION"
const EXTRA_CRC: u8 = 217u8
const ENCODED_LEN: usize = 22usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for PROTOCOL_VERSION_DATA
impl PartialEq for PROTOCOL_VERSION_DATA
source§fn eq(&self, other: &PROTOCOL_VERSION_DATA) -> bool
fn eq(&self, other: &PROTOCOL_VERSION_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PROTOCOL_VERSION_DATA
impl Serialize for PROTOCOL_VERSION_DATA
impl StructuralPartialEq for PROTOCOL_VERSION_DATA
Auto Trait Implementations§
impl Freeze for PROTOCOL_VERSION_DATA
impl RefUnwindSafe for PROTOCOL_VERSION_DATA
impl Send for PROTOCOL_VERSION_DATA
impl Sync for PROTOCOL_VERSION_DATA
impl Unpin for PROTOCOL_VERSION_DATA
impl UnwindSafe for PROTOCOL_VERSION_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)