pub struct MetadataSnapshot {
pub size: u64,
pub created: u64,
pub modified: u64,
pub permissions: u16,
pub is_dir: bool,
}Expand description
Snapshot of file/directory metadata
Fields§
§size: u64§created: u64§modified: u64§permissions: u16§is_dir: boolTrait Implementations§
Source§impl Clone for MetadataSnapshot
impl Clone for MetadataSnapshot
Source§fn clone(&self) -> MetadataSnapshot
fn clone(&self) -> MetadataSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<&Metadata> for MetadataSnapshot
impl From<&Metadata> for MetadataSnapshot
Source§impl From<&MetadataSnapshot> for Metadata
impl From<&MetadataSnapshot> for Metadata
Source§fn from(m: &MetadataSnapshot) -> Self
fn from(m: &MetadataSnapshot) -> Self
Converts to this type from the input type.
impl Copy for MetadataSnapshot
Auto Trait Implementations§
impl Freeze for MetadataSnapshot
impl RefUnwindSafe for MetadataSnapshot
impl Send for MetadataSnapshot
impl Sync for MetadataSnapshot
impl Unpin for MetadataSnapshot
impl UnsafeUnpin for MetadataSnapshot
impl UnwindSafe for MetadataSnapshot
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