pub struct FsFileTimes {
pub accessed: Option<SystemTime>,
pub modified: Option<SystemTime>,
}
Fields§
§accessed: Option<SystemTime>
§modified: Option<SystemTime>
Implementations§
Source§impl FsFileTimes
impl FsFileTimes
pub fn new() -> Self
pub fn accessed(&mut self, accessed: SystemTime) -> &mut Self
pub fn modified(&mut self, accessed: SystemTime) -> &mut Self
Trait Implementations§
Source§impl Clone for FsFileTimes
impl Clone for FsFileTimes
Source§fn clone(&self) -> FsFileTimes
fn clone(&self) -> FsFileTimes
Returns a copy 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 Debug for FsFileTimes
impl Debug for FsFileTimes
Source§impl Default for FsFileTimes
impl Default for FsFileTimes
Source§fn default() -> FsFileTimes
fn default() -> FsFileTimes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FsFileTimes
impl RefUnwindSafe for FsFileTimes
impl Send for FsFileTimes
impl Sync for FsFileTimes
impl Unpin for FsFileTimes
impl UnwindSafe for FsFileTimes
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