pub struct ReceivedFile {
pub header: FileTransferHeader,
pub path: PathBuf,
}Fields§
§header: FileTransferHeader§path: PathBufTrait Implementations§
Source§impl Clone for ReceivedFile
impl Clone for ReceivedFile
Source§fn clone(&self) -> ReceivedFile
fn clone(&self) -> ReceivedFile
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 moreAuto Trait Implementations§
impl Freeze for ReceivedFile
impl RefUnwindSafe for ReceivedFile
impl Send for ReceivedFile
impl Sync for ReceivedFile
impl Unpin for ReceivedFile
impl UnsafeUnpin for ReceivedFile
impl UnwindSafe for ReceivedFile
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