pub struct Options {
pub update_access: bool,
pub update_modification: bool,
pub no_create: bool,
pub no_dereference: bool,
pub date: Option<SystemTime>,
pub reference_file: Option<PathBuf>,
}
Fields§
§update_access: bool
Change the access time.
update_modification: bool
Change the modification time.
no_create: bool
Do not create any file.
no_dereference: bool
Affect symbolic link instead of referenced file.
date: Option<SystemTime>
Use it instead of current time.
reference_file: Option<PathBuf>
Use this file’s times instead of current time.
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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