pub struct CHANGE_OPERATOR_CONTROL_ACK_DATA {
pub gcs_system_id: u8,
pub control_request: u8,
pub ack: u8,
}
Available on crate feature
ualberta
only.Expand description
id: 6 Accept / deny control of this MAV.
Fields§
§gcs_system_id: u8
ID of the GCS this message.
control_request: u8
0: request control of this MAV, 1: Release control of this MAV.
ack: u8
0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control.
Implementations§
source§impl CHANGE_OPERATOR_CONTROL_ACK_DATA
impl CHANGE_OPERATOR_CONTROL_ACK_DATA
pub const ENCODED_LEN: usize = 3usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl Clone for CHANGE_OPERATOR_CONTROL_ACK_DATA
source§fn clone(&self) -> CHANGE_OPERATOR_CONTROL_ACK_DATA
fn clone(&self) -> CHANGE_OPERATOR_CONTROL_ACK_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<'de> Deserialize<'de> for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl<'de> Deserialize<'de> for CHANGE_OPERATOR_CONTROL_ACK_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 CHANGE_OPERATOR_CONTROL_ACK_DATA
impl MessageData for CHANGE_OPERATOR_CONTROL_ACK_DATA
const ID: u32 = 6u32
const NAME: &'static str = "CHANGE_OPERATOR_CONTROL_ACK"
const EXTRA_CRC: u8 = 104u8
const ENCODED_LEN: usize = 3usize
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 CHANGE_OPERATOR_CONTROL_ACK_DATA
impl PartialEq for CHANGE_OPERATOR_CONTROL_ACK_DATA
source§fn eq(&self, other: &CHANGE_OPERATOR_CONTROL_ACK_DATA) -> bool
fn eq(&self, other: &CHANGE_OPERATOR_CONTROL_ACK_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CHANGE_OPERATOR_CONTROL_ACK_DATA
Auto Trait Implementations§
impl Freeze for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl RefUnwindSafe for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl Send for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl Sync for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl Unpin for CHANGE_OPERATOR_CONTROL_ACK_DATA
impl UnwindSafe for CHANGE_OPERATOR_CONTROL_ACK_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
)