pub struct CUBEPILOT_FIRMWARE_UPDATE_START_DATA {
pub size: u32,
pub crc: u32,
pub target_system: u8,
pub target_component: u8,
}
Available on crate feature
cubepilot
only.Expand description
id: 50004 Start firmware update with encapsulated data..
Fields§
§size: u32
FW Size..
crc: u32
FW CRC..
target_system: u8
System ID..
target_component: u8
Component ID..
Implementations§
source§impl CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl CUBEPILOT_FIRMWARE_UPDATE_START_DATA
pub const ENCODED_LEN: usize = 10usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl Clone for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
source§fn clone(&self) -> CUBEPILOT_FIRMWARE_UPDATE_START_DATA
fn clone(&self) -> CUBEPILOT_FIRMWARE_UPDATE_START_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<'de> Deserialize<'de> for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl<'de> Deserialize<'de> for CUBEPILOT_FIRMWARE_UPDATE_START_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 CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl MessageData for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
const ID: u32 = 50_004u32
const NAME: &'static str = "CUBEPILOT_FIRMWARE_UPDATE_START"
const EXTRA_CRC: u8 = 240u8
const ENCODED_LEN: usize = 10usize
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 CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl PartialEq for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
source§fn eq(&self, other: &CUBEPILOT_FIRMWARE_UPDATE_START_DATA) -> bool
fn eq(&self, other: &CUBEPILOT_FIRMWARE_UPDATE_START_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
Auto Trait Implementations§
impl Freeze for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl RefUnwindSafe for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl Send for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl Sync for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl Unpin for CUBEPILOT_FIRMWARE_UPDATE_START_DATA
impl UnwindSafe for CUBEPILOT_FIRMWARE_UPDATE_START_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
)