pub struct ChangeOperatorControl {
    pub target_system: u8,
    pub control_request: u8,
    pub version: u8,
    pub passkey: [u8; 25],
}Expand description
MAVLink CHANGE_OPERATOR_CONTROL message.
The minimum supported MAVLink version is MAVLink 1.
§Description
Request to control this MAV
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
ChangeOperatorControl (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§target_system: u8MAVLink field target_system.
System the GCS requests control for
control_request: u8MAVLink field control_request.
0: request control of this MAV, 1: Release control of this MAV
version: u8MAVLink field version.
0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
passkey: [u8; 25]MAVLink field passkey.
Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and “!?,.-”
Implementations§
Source§impl ChangeOperatorControl
 
impl ChangeOperatorControl
Sourcepub const fn spec() -> MessageInfo
 
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
 
pub const fn message_id() -> u32
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
 
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for ChangeOperatorControl
 
impl Clone for ChangeOperatorControl
Source§fn clone(&self) -> ChangeOperatorControl
 
fn clone(&self) -> ChangeOperatorControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChangeOperatorControl
 
impl Debug for ChangeOperatorControl
Source§impl Default for ChangeOperatorControl
 
impl Default for ChangeOperatorControl
Source§fn default() -> ChangeOperatorControl
 
fn default() -> ChangeOperatorControl
Source§impl<'de> Deserialize<'de> for ChangeOperatorControl
 
impl<'de> Deserialize<'de> for ChangeOperatorControl
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<ChangeOperatorControl, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<ChangeOperatorControl, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Source§impl From<ChangeOperatorControl> for Common
 
impl From<ChangeOperatorControl> for Common
Source§fn from(value: ChangeOperatorControl) -> Common
 
fn from(value: ChangeOperatorControl) -> Common
Source§impl IntoPayload for ChangeOperatorControl
 
impl IntoPayload for ChangeOperatorControl
Source§impl MessageSpec for ChangeOperatorControl
 
impl MessageSpec for ChangeOperatorControl
Source§impl MessageSpecStatic for ChangeOperatorControl
 
impl MessageSpecStatic for ChangeOperatorControl
Source§fn spec() -> MessageInfo
 
fn spec() -> MessageInfo
Source§fn message_id() -> u32
 
fn message_id() -> u32
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
 
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for ChangeOperatorControl
 
impl NamedType for ChangeOperatorControl
fn sid() -> SpectaID
Source§fn named_data_type(
    type_map: &mut TypeCollection,
    generics: &[DataType],
) -> NamedDataType
 
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
 
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for ChangeOperatorControl
 
impl PartialEq for ChangeOperatorControl
Source§impl Serialize for ChangeOperatorControl
 
impl Serialize for ChangeOperatorControl
Source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Source§impl TryFrom<&Payload> for ChangeOperatorControl
 
impl TryFrom<&Payload> for ChangeOperatorControl
Source§impl Type for ChangeOperatorControl
 
impl Type for ChangeOperatorControl
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
 
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
 
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.