#[repr(u8)]pub enum CompMetadataType {
General = 0,
Parameter = 1,
Commands = 2,
Peripherals = 3,
Events = 4,
Actuators = 5,
}Expand description
MAVLink enum COMP_METADATA_TYPE for common dialect.
Supported component metadata types. These are used in the “general” metadata file returned by COMPONENT_METADATA to provide information about supported metadata types. The types are not used directly in MAVLink messages.
Variants§
General = 0
MAVLink enum entry COMP_METADATA_TYPE_GENERAL.
General information about the component. General metadata includes information about other metadata types supported by the component. Files of this type must be supported, and must be downloadable from vehicle using a MAVLink FTP URI.
Parameter = 1
MAVLink enum entry COMP_METADATA_TYPE_PARAMETER.
Parameter meta data.
Commands = 2
MAVLink enum entry COMP_METADATA_TYPE_COMMANDS.
Meta data that specifies which commands and command parameters the vehicle supports. (WIP)
Peripherals = 3
MAVLink enum entry COMP_METADATA_TYPE_PERIPHERALS.
Meta data that specifies external non-MAVLink peripherals.
Events = 4
MAVLink enum entry COMP_METADATA_TYPE_EVENTS.
Meta data for the events interface.
Actuators = 5
MAVLink enum entry COMP_METADATA_TYPE_ACTUATORS.
Meta data for actuator configuration (motors, servos and vehicle geometry) and testing.
Implementations§
Trait Implementations§
Source§impl Clone for CompMetadataType
impl Clone for CompMetadataType
Source§fn clone(&self) -> CompMetadataType
fn clone(&self) -> CompMetadataType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CompMetadataType
impl Debug for CompMetadataType
Source§impl Default for CompMetadataType
impl Default for CompMetadataType
Source§fn default() -> CompMetadataType
fn default() -> CompMetadataType
Source§impl<'de> Deserialize<'de> for CompMetadataType
impl<'de> Deserialize<'de> for CompMetadataType
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>,
Source§impl NamedType for CompMetadataType
impl NamedType for CompMetadataType
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 CompMetadataType
impl PartialEq for CompMetadataType
Source§impl Serialize for CompMetadataType
impl Serialize for CompMetadataType
Source§impl TryFrom<u8> for CompMetadataType
impl TryFrom<u8> for CompMetadataType
Source§impl Type for CompMetadataType
impl Type for CompMetadataType
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.