#[repr(C)]pub struct NSTDFileMetadata {
pub size: NSTDUInt64,
pub created: NSTDOptionalTime,
pub accessed: NSTDOptionalTime,
pub modified: NSTDOptionalTime,
pub file_type: NSTDFileType,
pub permissions: NSTDUInt8,
}Available on crate feature
fs only.Expand description
Represents file metadata.
Fields§
§size: NSTDUInt64The size of the file in bytes.
created: NSTDOptionalTimeThe time that the file was created.
accessed: NSTDOptionalTimeThe time that the file was last accessed.
modified: NSTDOptionalTimeThe time that the file was last modified.
file_type: NSTDFileTypeThe file type.
permissions: NSTDUInt8A bit mask representing the file’s permissions.
Trait Implementations§
Source§impl Clone for NSTDFileMetadata
impl Clone for NSTDFileMetadata
Source§fn clone(&self) -> NSTDFileMetadata
fn clone(&self) -> NSTDFileMetadata
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 moreimpl Copy for NSTDFileMetadata
Auto Trait Implementations§
impl Freeze for NSTDFileMetadata
impl RefUnwindSafe for NSTDFileMetadata
impl Send for NSTDFileMetadata
impl Sync for NSTDFileMetadata
impl Unpin for NSTDFileMetadata
impl UnwindSafe for NSTDFileMetadata
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