pub struct Properties { /* private fields */ }Expand description
A container for file/directory properties
Implementations§
Source§impl Properties
Getter methods
impl Properties
Getter methods
Sourcepub fn attributes(&self) -> &Attributes
pub fn attributes(&self) -> &Attributes
Get the corresponding Attributes to this entry
Sourcepub fn creation_time(&self) -> &Option<PrimitiveDateTime>
pub fn creation_time(&self) -> &Option<PrimitiveDateTime>
Find out when this entry was created (max resolution: 1ms)
Returns an Option containing a PrimitiveDateTime from the time crate,
since that field is specified as optional in the FAT32 specification
Sourcepub fn modification_time(&self) -> &PrimitiveDateTime
pub fn modification_time(&self) -> &PrimitiveDateTime
Find out when this entry was last modified (max resolution: 2 secs)
Returns a PrimitiveDateTime from the time crate
Sourcepub fn last_accessed_date(&self) -> &Option<Date>
pub fn last_accessed_date(&self) -> &Option<Date>
Trait Implementations§
Source§impl Clone for Properties
impl Clone for Properties
Source§fn clone(&self) -> Properties
fn clone(&self) -> Properties
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 moreAuto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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