pub enum ComponentMetadataMsrv {
CommandCancel(CommandCancel),
CommandInt(CommandInt),
CommandAck(CommandAck),
ComponentMetadata(ComponentMetadata),
CommandLong(CommandLong),
}Expand description
Enum containing all messages within Component Metadata microservice of all dialect.
Variants§
CommandCancel(CommandCancel)
MAVLink message COMMAND_CANCEL.
CommandInt(CommandInt)
MAVLink message COMMAND_INT.
CommandAck(CommandAck)
MAVLink message COMMAND_ACK.
ComponentMetadata(ComponentMetadata)
MAVLink message COMPONENT_METADATA.
CommandLong(CommandLong)
MAVLink message COMMAND_LONG.
Implementations§
Source§impl ComponentMetadataMsrv
impl ComponentMetadataMsrv
Sourcepub fn message_ids() -> impl Iterator<Item = MessageId>
pub fn message_ids() -> impl Iterator<Item = MessageId>
Iterator over all message IDs within this dialect.
Requires metadata feature flag to be enabled.
Trait Implementations§
Source§impl Clone for ComponentMetadataMsrv
impl Clone for ComponentMetadataMsrv
Source§fn clone(&self) -> ComponentMetadataMsrv
fn clone(&self) -> ComponentMetadataMsrv
Returns a duplicate 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 ComponentMetadataMsrv
impl Debug for ComponentMetadataMsrv
Source§impl<'de> Deserialize<'de> for ComponentMetadataMsrv
impl<'de> Deserialize<'de> for ComponentMetadataMsrv
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 Dialect for ComponentMetadataMsrv
impl Dialect for ComponentMetadataMsrv
Source§fn dialect() -> Option<DialectId>
fn dialect() -> Option<DialectId>
Returns
dialect identifier as specified in MAVLink XML definitions.Source§fn version() -> Option<DialectVersion>
fn version() -> Option<DialectVersion>
Source§fn message_info(id: MessageId) -> Result<&'static dyn MessageSpec, SpecError>
fn message_info(id: MessageId) -> Result<&'static dyn MessageSpec, SpecError>
Message specification by
id. Read moreSource§fn spec() -> &'static DialectSpec
fn spec() -> &'static DialectSpec
Dialect specification.
Source§impl From<CommandAck> for ComponentMetadataMsrv
impl From<CommandAck> for ComponentMetadataMsrv
Source§fn from(value: CommandAck) -> Self
fn from(value: CommandAck) -> Self
Converts to this type from the input type.
Source§impl From<CommandCancel> for ComponentMetadataMsrv
impl From<CommandCancel> for ComponentMetadataMsrv
Source§fn from(value: CommandCancel) -> Self
fn from(value: CommandCancel) -> Self
Converts to this type from the input type.
Source§impl From<CommandInt> for ComponentMetadataMsrv
impl From<CommandInt> for ComponentMetadataMsrv
Source§fn from(value: CommandInt) -> Self
fn from(value: CommandInt) -> Self
Converts to this type from the input type.
Source§impl From<CommandLong> for ComponentMetadataMsrv
impl From<CommandLong> for ComponentMetadataMsrv
Source§fn from(value: CommandLong) -> Self
fn from(value: CommandLong) -> Self
Converts to this type from the input type.
Source§impl From<ComponentMetadataMsrv> for All
impl From<ComponentMetadataMsrv> for All
Source§fn from(value: ComponentMetadataMsrv) -> Self
fn from(value: ComponentMetadataMsrv) -> Self
Converts to this type from the input type.
Source§impl IntoPayload for ComponentMetadataMsrv
impl IntoPayload for ComponentMetadataMsrv
Source§impl MessageSpec for ComponentMetadataMsrv
impl MessageSpec for ComponentMetadataMsrv
Source§impl NamedType for ComponentMetadataMsrv
impl NamedType for ComponentMetadataMsrv
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
this is equivalent to Type::inline but returns a NamedDataType instead.
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
Source§impl PartialEq for ComponentMetadataMsrv
impl PartialEq for ComponentMetadataMsrv
Source§impl Serialize for ComponentMetadataMsrv
impl Serialize for ComponentMetadataMsrv
Source§impl TryFrom<&Payload> for ComponentMetadataMsrv
impl TryFrom<&Payload> for ComponentMetadataMsrv
Source§impl TryFrom<All> for ComponentMetadataMsrv
impl TryFrom<All> for ComponentMetadataMsrv
Source§impl Type for ComponentMetadataMsrv
impl Type for ComponentMetadataMsrv
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.impl Flatten for ComponentMetadataMsrv
impl StructuralPartialEq for ComponentMetadataMsrv
Auto Trait Implementations§
impl Freeze for ComponentMetadataMsrv
impl RefUnwindSafe for ComponentMetadataMsrv
impl Send for ComponentMetadataMsrv
impl Sync for ComponentMetadataMsrv
impl Unpin for ComponentMetadataMsrv
impl UnwindSafe for ComponentMetadataMsrv
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