pub enum ParameterMsrv {
ParamValue(ParamValue),
ParamRequestList(ParamRequestList),
ParamSet(ParamSet),
ParamRequestRead(ParamRequestRead),
}Expand description
Enum containing all messages within Parameter microservice of all dialect.
Variants§
ParamValue(ParamValue)
MAVLink message PARAM_VALUE.
ParamRequestList(ParamRequestList)
MAVLink message PARAM_REQUEST_LIST.
ParamSet(ParamSet)
MAVLink message PARAM_SET.
ParamRequestRead(ParamRequestRead)
MAVLink message PARAM_REQUEST_READ.
Implementations§
Source§impl ParameterMsrv
impl ParameterMsrv
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 ParameterMsrv
impl Clone for ParameterMsrv
Source§fn clone(&self) -> ParameterMsrv
fn clone(&self) -> ParameterMsrv
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 ParameterMsrv
impl Debug for ParameterMsrv
Source§impl<'de> Deserialize<'de> for ParameterMsrv
impl<'de> Deserialize<'de> for ParameterMsrv
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 ParameterMsrv
impl Dialect for ParameterMsrv
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<ParameterMsrv> for All
impl From<ParameterMsrv> for All
Source§fn from(value: ParameterMsrv) -> Self
fn from(value: ParameterMsrv) -> Self
Converts to this type from the input type.
Source§impl IntoPayload for ParameterMsrv
impl IntoPayload for ParameterMsrv
Source§impl MessageSpec for ParameterMsrv
impl MessageSpec for ParameterMsrv
Source§impl NamedType for ParameterMsrv
impl NamedType for ParameterMsrv
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 ParameterMsrv
impl PartialEq for ParameterMsrv
Source§impl Serialize for ParameterMsrv
impl Serialize for ParameterMsrv
Source§impl TryFrom<&Payload> for ParameterMsrv
impl TryFrom<&Payload> for ParameterMsrv
Source§impl TryFrom<All> for ParameterMsrv
impl TryFrom<All> for ParameterMsrv
Source§impl Type for ParameterMsrv
impl Type for ParameterMsrv
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 ParameterMsrv
impl StructuralPartialEq for ParameterMsrv
Auto Trait Implementations§
impl Freeze for ParameterMsrv
impl RefUnwindSafe for ParameterMsrv
impl Send for ParameterMsrv
impl Sync for ParameterMsrv
impl Unpin for ParameterMsrv
impl UnwindSafe for ParameterMsrv
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