pub struct NewRun<'g> {
pub goal: &'g str,
pub plan: Option<Plan>,
pub base: Option<&'g str>,
}Expand description
What a new run starts from.
Fields§
§goal: &'g str§plan: Option<Plan>A plan the owner already approved; the run then skips planning.
base: Option<&'g str>The ref the run’s branch starts from; the main checkout’s HEAD if None.
Trait Implementations§
Auto Trait Implementations§
impl<'g> Forget for NewRun<'g>
impl<'g> Freeze for NewRun<'g>
impl<'g> Move for NewRun<'g>
impl<'g> RefUnwindSafe for NewRun<'g>
impl<'g> Send for NewRun<'g>
impl<'g> Sync for NewRun<'g>where
RawVecInner: Sync,
impl<'g> Unpin for NewRun<'g>
impl<'g> UnsafeUnpin for NewRun<'g>
impl<'g> UnwindSafe for NewRun<'g>
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