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