pub struct FileEntry {
pub path: String,
pub size: u64,
pub mtime: u64,
}Expand description
A file to transfer, identified by its virtual path.
Fields§
§path: StringVirtual path relative to the mounted root (POSIX separators).
size: u64Size in bytes.
mtime: u64Last-modified unix time.
Implementations§
Trait Implementations§
impl Eq for FileEntry
impl StructuralPartialEq for FileEntry
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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