Struct mavlink::common::LOG_ENTRY_DATA
source · pub struct LOG_ENTRY_DATA {
pub time_utc: u32,
pub size: u32,
pub id: u16,
pub num_logs: u16,
pub last_log_num: u16,
}
Available on crate feature
common
only.Expand description
id: 118 Reply to LOG_REQUEST_LIST.
Fields§
§time_utc: u32
UTC timestamp of log since 1970, or 0 if not available.
size: u32
Size of the log (may be approximate).
id: u16
Log id.
num_logs: u16
Total number of logs.
last_log_num: u16
High log number.
Implementations§
source§impl LOG_ENTRY_DATA
impl LOG_ENTRY_DATA
pub const ENCODED_LEN: usize = 14usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for LOG_ENTRY_DATA
impl Clone for LOG_ENTRY_DATA
source§fn clone(&self) -> LOG_ENTRY_DATA
fn clone(&self) -> LOG_ENTRY_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_ENTRY_DATA
impl Debug for LOG_ENTRY_DATA
source§impl Default for LOG_ENTRY_DATA
impl Default for LOG_ENTRY_DATA
source§impl<'de> Deserialize<'de> for LOG_ENTRY_DATA
impl<'de> Deserialize<'de> for LOG_ENTRY_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_ENTRY_DATA
impl MessageData for LOG_ENTRY_DATA
const ID: u32 = 118u32
const NAME: &'static str = "LOG_ENTRY"
const EXTRA_CRC: u8 = 56u8
const ENCODED_LEN: usize = 14usize
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_ENTRY_DATA
impl PartialEq for LOG_ENTRY_DATA
source§impl Serialize for LOG_ENTRY_DATA
impl Serialize for LOG_ENTRY_DATA
impl StructuralPartialEq for LOG_ENTRY_DATA
Auto Trait Implementations§
impl Freeze for LOG_ENTRY_DATA
impl RefUnwindSafe for LOG_ENTRY_DATA
impl Send for LOG_ENTRY_DATA
impl Sync for LOG_ENTRY_DATA
impl Unpin for LOG_ENTRY_DATA
impl UnwindSafe for LOG_ENTRY_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)