pub struct AttachmentChunk {
pub transfer_id: u32,
pub sequence: u16,
pub payload: Vec<u8>,
}Fields§
§transfer_id: u32§sequence: u16§payload: Vec<u8>Trait Implementations§
Source§impl Clone for AttachmentChunk
impl Clone for AttachmentChunk
Source§fn clone(&self) -> AttachmentChunk
fn clone(&self) -> AttachmentChunk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttachmentChunk
impl Debug for AttachmentChunk
impl Eq for AttachmentChunk
Source§impl PartialEq for AttachmentChunk
impl PartialEq for AttachmentChunk
Source§fn eq(&self, other: &AttachmentChunk) -> bool
fn eq(&self, other: &AttachmentChunk) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttachmentChunk
Auto Trait Implementations§
impl Freeze for AttachmentChunk
impl RefUnwindSafe for AttachmentChunk
impl Send for AttachmentChunk
impl Sync for AttachmentChunk
impl Unpin for AttachmentChunk
impl UnsafeUnpin for AttachmentChunk
impl UnwindSafe for AttachmentChunk
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