Struct mavlink::uavionix::FILE_TRANSFER_PROTOCOL_DATA
source · pub struct FILE_TRANSFER_PROTOCOL_DATA {
pub target_network: u8,
pub target_system: u8,
pub target_component: u8,
pub payload: [u8; 251],
}
Available on crate feature
uavionix
only.Expand description
id: 110 File transfer protocol message: https://mavlink.io/en/services/ftp.html..
Fields§
§target_network: u8
Network ID (0 for broadcast).
target_system: u8
System ID (0 for broadcast).
target_component: u8
Component ID (0 for broadcast).
payload: [u8; 251]
Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The content/format of this block is defined in https://mavlink.io/en/services/ftp.html..
Implementations§
source§impl FILE_TRANSFER_PROTOCOL_DATA
impl FILE_TRANSFER_PROTOCOL_DATA
pub const ENCODED_LEN: usize = 254usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for FILE_TRANSFER_PROTOCOL_DATA
impl Clone for FILE_TRANSFER_PROTOCOL_DATA
source§fn clone(&self) -> FILE_TRANSFER_PROTOCOL_DATA
fn clone(&self) -> FILE_TRANSFER_PROTOCOL_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 FILE_TRANSFER_PROTOCOL_DATA
impl Debug for FILE_TRANSFER_PROTOCOL_DATA
source§impl<'de> Deserialize<'de> for FILE_TRANSFER_PROTOCOL_DATA
impl<'de> Deserialize<'de> for FILE_TRANSFER_PROTOCOL_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 FILE_TRANSFER_PROTOCOL_DATA
impl MessageData for FILE_TRANSFER_PROTOCOL_DATA
const ID: u32 = 110u32
const NAME: &'static str = "FILE_TRANSFER_PROTOCOL"
const EXTRA_CRC: u8 = 84u8
const ENCODED_LEN: usize = 254usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for FILE_TRANSFER_PROTOCOL_DATA
Auto Trait Implementations§
impl Freeze for FILE_TRANSFER_PROTOCOL_DATA
impl RefUnwindSafe for FILE_TRANSFER_PROTOCOL_DATA
impl Send for FILE_TRANSFER_PROTOCOL_DATA
impl Sync for FILE_TRANSFER_PROTOCOL_DATA
impl Unpin for FILE_TRANSFER_PROTOCOL_DATA
impl UnwindSafe for FILE_TRANSFER_PROTOCOL_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
)