pub struct InitFileTransferPayload {
pub operation: FileInitAction,
pub target: FileTransferTarget,
pub vendor: FileVendor,
pub options: FileInitOption,
pub file_size: u32,
pub load_address: u32,
pub write_file_crc: u32,
pub metadata: FileMetadata,
pub file_name: FixedString<23>,
}
Fields§
§operation: FileInitAction
§target: FileTransferTarget
§vendor: FileVendor
§options: FileInitOption
§file_size: u32
§load_address: u32
§write_file_crc: u32
§metadata: FileMetadata
§file_name: FixedString<23>
Trait Implementations§
Source§impl Clone for InitFileTransferPayload
impl Clone for InitFileTransferPayload
Source§fn clone(&self) -> InitFileTransferPayload
fn clone(&self) -> InitFileTransferPayload
Returns a duplicate 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 InitFileTransferPayload
impl Debug for InitFileTransferPayload
Source§impl Encode for InitFileTransferPayload
impl Encode for InitFileTransferPayload
fn into_encoded(self) -> Result<Vec<u8>, EncodeError>where
Self: Sized,
Source§impl PartialEq for InitFileTransferPayload
impl PartialEq for InitFileTransferPayload
impl Eq for InitFileTransferPayload
impl StructuralPartialEq for InitFileTransferPayload
Auto Trait Implementations§
impl Freeze for InitFileTransferPayload
impl RefUnwindSafe for InitFileTransferPayload
impl Send for InitFileTransferPayload
impl Sync for InitFileTransferPayload
impl Unpin for InitFileTransferPayload
impl UnwindSafe for InitFileTransferPayload
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more