Struct mavlink::common::LOG_DATA_DATA
source · pub struct LOG_DATA_DATA {
pub ofs: u32,
pub id: u16,
pub count: u8,
pub data: [u8; 90],
}
Available on crate feature
common
only.Expand description
id: 120 Reply to LOG_REQUEST_DATA.
Fields§
§ofs: u32
Offset into the log.
id: u16
Log id (from LOG_ENTRY reply).
count: u8
Number of bytes (zero for end of log).
data: [u8; 90]
log data.
Implementations§
source§impl LOG_DATA_DATA
impl LOG_DATA_DATA
pub const ENCODED_LEN: usize = 97usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for LOG_DATA_DATA
impl Clone for LOG_DATA_DATA
source§fn clone(&self) -> LOG_DATA_DATA
fn clone(&self) -> LOG_DATA_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_DATA_DATA
impl Debug for LOG_DATA_DATA
source§impl Default for LOG_DATA_DATA
impl Default for LOG_DATA_DATA
source§impl<'de> Deserialize<'de> for LOG_DATA_DATA
impl<'de> Deserialize<'de> for LOG_DATA_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_DATA_DATA
impl MessageData for LOG_DATA_DATA
const ID: u32 = 120u32
const NAME: &'static str = "LOG_DATA"
const EXTRA_CRC: u8 = 134u8
const ENCODED_LEN: usize = 97usize
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_DATA_DATA
impl PartialEq for LOG_DATA_DATA
source§impl Serialize for LOG_DATA_DATA
impl Serialize for LOG_DATA_DATA
impl StructuralPartialEq for LOG_DATA_DATA
Auto Trait Implementations§
impl Freeze for LOG_DATA_DATA
impl RefUnwindSafe for LOG_DATA_DATA
impl Send for LOG_DATA_DATA
impl Sync for LOG_DATA_DATA
impl Unpin for LOG_DATA_DATA
impl UnwindSafe for LOG_DATA_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
)