pub struct RemoteFile {
pub path: String,
pub is_dir: bool,
pub size: u64,
pub mtime: u64,
}Expand description
A directory listing entry as served by GET /dir/....
Fields§
§path: StringFull virtual path relative to the mounted root.
is_dir: boolWhether this entry is a directory.
size: u64Byte size (0 for directories).
mtime: u64Last-modified unix time.
Trait Implementations§
Source§impl Clone for RemoteFile
impl Clone for RemoteFile
Source§impl Debug for RemoteFile
impl Debug for RemoteFile
Source§impl<'de> Deserialize<'de> for RemoteFile
impl<'de> Deserialize<'de> for RemoteFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RemoteFile
impl RefUnwindSafe for RemoteFile
impl Send for RemoteFile
impl Sync for RemoteFile
impl Unpin for RemoteFile
impl UnsafeUnpin for RemoteFile
impl UnwindSafe for RemoteFile
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