pub struct Invocation<'a> {
pub home: &'a Path,
pub args: &'a Value,
pub approve: Option<&'a str>,
pub unattended: bool,
}Expand description
What one invocation of a pass was told: where to work, the arguments the instance was given, and the plan the developer approved, if any.
Fields§
§home: &'a Path§args: &'a Value§approve: Option<&'a str>§unattended: boolApprove every plan as it is reached, until the instance finishes or
waits. batch_budget still sizes each plan, and the caps still hold.
Auto Trait Implementations§
impl<'a> Freeze for Invocation<'a>
impl<'a> RefUnwindSafe for Invocation<'a>
impl<'a> Send for Invocation<'a>
impl<'a> Sync for Invocation<'a>
impl<'a> Unpin for Invocation<'a>
impl<'a> UnsafeUnpin for Invocation<'a>
impl<'a> UnwindSafe for Invocation<'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