pub struct Options<'a> {
pub home: &'a Path,
pub agents: Vec<Agent>,
pub command: PathBuf,
pub remove: bool,
pub dry_run: bool,
pub backup: bool,
}Fields§
§home: &'a Path§agents: Vec<Agent>Agents to set up; empty means every agent found.
command: PathBufThe command the agents run; the current executable by default.
remove: bool§dry_run: bool§backup: boolSave <file>.rust-anything.bak before changing an existing file.
Auto Trait Implementations§
impl<'a> Forget for Options<'a>
impl<'a> Freeze for Options<'a>
impl<'a> Move for Options<'a>
impl<'a> RefUnwindSafe for Options<'a>
impl<'a> Send for Options<'a>
impl<'a> Sync for Options<'a>
impl<'a> Unpin for Options<'a>
impl<'a> UnsafeUnpin for Options<'a>
impl<'a> UnwindSafe for Options<'a>
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