pub struct FileTimes {
accessed: Option<SystemTime>,
modified: Option<SystemTime>,
}
Fields§
§accessed: Option<SystemTime>
§modified: Option<SystemTime>
Implementations§
source§impl FileTimes
impl FileTimes
pub fn set_accessed(&mut self, t: SystemTime)
pub fn set_modified(&mut self, t: SystemTime)
Trait Implementations§
impl Copy for FileTimes
Auto Trait Implementations§
impl RefUnwindSafe for FileTimes
impl Send for FileTimes
impl Sync for FileTimes
impl Unpin for FileTimes
impl UnwindSafe for FileTimes
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