pub struct Options {
pub directory: bool,
pub force: bool,
pub logical: bool,
pub no_dereference: bool,
pub physical: bool,
pub symbolic: bool,
}Fields§
§directory: boolAllow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even for the supe‐ruser).
force: boolRemove existing destination files.
logical: boolDereference TARGETs that are symbolic links.
no_dereference: boolTreat LINK_NAME as a normal file if it is a symbolic link to a directory.
physical: boolMake hard links directly to symbolic links.
symbolic: boolCreate symbolic links relative to link location.
Trait Implementations§
impl Copy 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