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: boolChange the access time.
update_modification: boolChange the modification time.
no_create: boolDo not create any file.
no_dereference: boolAffect 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