Struct caesar_core::sender::client::File
source · struct File {
path: String,
name: String,
size: u64,
}Expand description
Struct representing a file to be sent.
This struct holds the path, name and size of a file.
Fields§
§path: StringThe path of the file to be sent.
name: StringThe name of the file to be sent.
size: u64The size of the file to be sent.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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