Struct mavlink::common::AUTH_KEY_DATA
source · pub struct AUTH_KEY_DATA {
pub key: [u8; 32],
}
Available on crate feature
common
only.Expand description
id: 7 Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety..
Fields§
§key: [u8; 32]
key.
Implementations§
source§impl AUTH_KEY_DATA
impl AUTH_KEY_DATA
pub const ENCODED_LEN: usize = 32usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for AUTH_KEY_DATA
impl Clone for AUTH_KEY_DATA
source§fn clone(&self) -> AUTH_KEY_DATA
fn clone(&self) -> AUTH_KEY_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 AUTH_KEY_DATA
impl Debug for AUTH_KEY_DATA
source§impl Default for AUTH_KEY_DATA
impl Default for AUTH_KEY_DATA
source§impl<'de> Deserialize<'de> for AUTH_KEY_DATA
impl<'de> Deserialize<'de> for AUTH_KEY_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 AUTH_KEY_DATA
impl MessageData for AUTH_KEY_DATA
const ID: u32 = 7u32
const NAME: &'static str = "AUTH_KEY"
const EXTRA_CRC: u8 = 119u8
const ENCODED_LEN: usize = 32usize
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 AUTH_KEY_DATA
impl PartialEq for AUTH_KEY_DATA
source§impl Serialize for AUTH_KEY_DATA
impl Serialize for AUTH_KEY_DATA
impl StructuralPartialEq for AUTH_KEY_DATA
Auto Trait Implementations§
impl Freeze for AUTH_KEY_DATA
impl RefUnwindSafe for AUTH_KEY_DATA
impl Send for AUTH_KEY_DATA
impl Sync for AUTH_KEY_DATA
impl Unpin for AUTH_KEY_DATA
impl UnwindSafe for AUTH_KEY_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
)