pub struct Options {
pub directory: bool,
pub force: bool,
pub logical: bool,
pub no_dereference: bool,
pub physical: bool,
pub symbolic: bool,
}
Fields§
§directory: bool
Allow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even for the supe‐ruser).
force: bool
Remove existing destination files.
logical: bool
Dereference TARGETs that are symbolic links.
no_dereference: bool
Treat LINK_NAME as a normal file if it is a symbolic link to a directory.
physical: bool
Make hard links directly to symbolic links.
symbolic: bool
Create 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