pub struct RunOnce {
pub id: String,
pub path: PathBuf,
pub shell: bool,
pub root: bool,
pub args: Vec<String>,
}
Expand description
Run the given executable once.
Fields§
§id: String
ID to mark once run.
path: PathBuf
Path to run.
shell: bool
Run using a shell.
root: bool
Run as root or super user.
args: Vec<String>
Arguments to add when running the command.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunOnce
impl RefUnwindSafe for RunOnce
impl Send for RunOnce
impl Sync for RunOnce
impl Unpin for RunOnce
impl UnwindSafe for RunOnce
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