Struct mavlink::development::TUNNEL_DATA
source · pub struct TUNNEL_DATA {
pub payload_type: MavTunnelPayloadType,
pub target_system: u8,
pub target_component: u8,
pub payload_length: u8,
pub payload: [u8; 128],
}
Fields§
§payload_type: MavTunnelPayloadType
§target_system: u8
§target_component: u8
§payload_length: u8
§payload: [u8; 128]
Implementations§
source§impl TUNNEL_DATA
impl TUNNEL_DATA
pub const ENCODED_LEN: usize = 133usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for TUNNEL_DATA
impl Clone for TUNNEL_DATA
source§fn clone(&self) -> TUNNEL_DATA
fn clone(&self) -> TUNNEL_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 TUNNEL_DATA
impl Debug for TUNNEL_DATA
source§impl Default for TUNNEL_DATA
impl Default for TUNNEL_DATA
source§impl<'de> Deserialize<'de> for TUNNEL_DATA
impl<'de> Deserialize<'de> for TUNNEL_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 TUNNEL_DATA
impl MessageData for TUNNEL_DATA
type Message = MavMessage
const ID: u32 = 385u32
const NAME: &'static str = "TUNNEL"
const EXTRA_CRC: u8 = 147u8
const ENCODED_LEN: usize = 133usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for TUNNEL_DATA
impl PartialEq for TUNNEL_DATA
source§fn eq(&self, other: &TUNNEL_DATA) -> bool
fn eq(&self, other: &TUNNEL_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TUNNEL_DATA
impl Serialize for TUNNEL_DATA
impl StructuralPartialEq for TUNNEL_DATA
Auto Trait Implementations§
impl Freeze for TUNNEL_DATA
impl RefUnwindSafe for TUNNEL_DATA
impl Send for TUNNEL_DATA
impl Sync for TUNNEL_DATA
impl Unpin for TUNNEL_DATA
impl UnwindSafe for TUNNEL_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
)