pub struct ReceivedFile {
pub name: String,
pub data: Vec<u8>,
}Expand description
A file received with a GET.
Fields§
§name: StringName from the F packet, decoded from the HP character set.
data: Vec<u8>File contents.
Trait Implementations§
Source§impl Clone for ReceivedFile
impl Clone for ReceivedFile
Source§impl Debug for ReceivedFile
impl Debug for ReceivedFile
impl Eq for ReceivedFile
Source§impl PartialEq for ReceivedFile
impl PartialEq for ReceivedFile
impl StructuralPartialEq for ReceivedFile
Auto Trait Implementations§
impl Forget for ReceivedFile
impl Freeze for ReceivedFile
impl Move 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