pub struct LOG_ERASE_DATA {
pub target_system: u8,
pub target_component: u8,
}
Available on crate feature
common
only.Expand description
id: 121 Erase all logs.
Fields§
§target_system: u8
System ID.
target_component: u8
Component ID.
Implementations§
Source§impl LOG_ERASE_DATA
impl LOG_ERASE_DATA
pub const ENCODED_LEN: usize = 2usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for LOG_ERASE_DATA
impl Clone for LOG_ERASE_DATA
Source§fn clone(&self) -> LOG_ERASE_DATA
fn clone(&self) -> LOG_ERASE_DATA
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 LOG_ERASE_DATA
impl Debug for LOG_ERASE_DATA
Source§impl Default for LOG_ERASE_DATA
impl Default for LOG_ERASE_DATA
Source§impl<'de> Deserialize<'de> for LOG_ERASE_DATA
impl<'de> Deserialize<'de> for LOG_ERASE_DATA
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 MessageData for LOG_ERASE_DATA
impl MessageData for LOG_ERASE_DATA
const ID: u32 = 121u32
const NAME: &'static str = "LOG_ERASE"
const EXTRA_CRC: u8 = 237u8
const ENCODED_LEN: usize = 2usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for LOG_ERASE_DATA
impl PartialEq for LOG_ERASE_DATA
Source§impl Serialize for LOG_ERASE_DATA
impl Serialize for LOG_ERASE_DATA
impl StructuralPartialEq for LOG_ERASE_DATA
Auto Trait Implementations§
impl Freeze for LOG_ERASE_DATA
impl RefUnwindSafe for LOG_ERASE_DATA
impl Send for LOG_ERASE_DATA
impl Sync for LOG_ERASE_DATA
impl Unpin for LOG_ERASE_DATA
impl UnwindSafe for LOG_ERASE_DATA
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