pub struct LogRequestList {
pub target_system: u8,
pub target_component: u8,
pub start: u16,
pub end: u16,
}Expand description
MAVLink LOG_REQUEST_LIST message.
The minimum supported MAVLink version is MAVLink 1.
§Description
Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called. If there are no log files available this request shall be answered with one LOG_ENTRY message with id = 0 and num_logs = 0.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
LogRequestList (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§target_system: u8MAVLink field target_system.
System ID
target_component: u8MAVLink field target_component.
Component ID
start: u16MAVLink field start.
First log id (0 for first available)
end: u16MAVLink field end.
Last log id (0xffff for last available)
Implementations§
Source§impl LogRequestList
impl LogRequestList
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 LogRequestList
impl Clone for LogRequestList
Source§fn clone(&self) -> LogRequestList
fn clone(&self) -> LogRequestList
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LogRequestList
impl Debug for LogRequestList
Source§impl Default for LogRequestList
impl Default for LogRequestList
Source§fn default() -> LogRequestList
fn default() -> LogRequestList
Source§impl<'de> Deserialize<'de> for LogRequestList
impl<'de> Deserialize<'de> for LogRequestList
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogRequestList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogRequestList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Flatten for LogRequestList
Source§impl From<LogRequestList> for Common
impl From<LogRequestList> for Common
Source§fn from(value: LogRequestList) -> Common
fn from(value: LogRequestList) -> Common
Source§impl IntoPayload for LogRequestList
impl IntoPayload for LogRequestList
impl Message for LogRequestList
Source§impl MessageSpec for LogRequestList
impl MessageSpec for LogRequestList
Source§impl MessageSpecStatic for LogRequestList
impl MessageSpecStatic for LogRequestList
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 LogRequestList
impl NamedType for LogRequestList
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 LogRequestList
impl PartialEq for LogRequestList
Source§fn eq(&self, other: &LogRequestList) -> bool
fn eq(&self, other: &LogRequestList) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for LogRequestList
impl Serialize for LogRequestList
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,
impl StructuralPartialEq for LogRequestList
Source§impl TryFrom<&Payload> for LogRequestList
impl TryFrom<&Payload> for LogRequestList
Source§impl Type for LogRequestList
impl Type for LogRequestList
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.