pub struct PeerEntry {
pub path: String,
pub crtime: SystemTime,
pub mtime: SystemTime,
pub is_dir: bool,
pub size: usize,
}
Expand description
IPFS node MFS (mutable file system) entity representation.
Fields§
§path: String
Absolute path of MFS entity.
crtime: SystemTime
Time of MFS entity creation.
mtime: SystemTime
Time of MFS entity modification.
is_dir: bool
Whether the entity is a directory.
size: usize
Size of MFS entity.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeerEntry
impl RefUnwindSafe for PeerEntry
impl Send for PeerEntry
impl Sync for PeerEntry
impl Unpin for PeerEntry
impl UnwindSafe for PeerEntry
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