pub struct Filing {
pub instruction: String,
pub title: String,
pub repo: PathBuf,
pub source: Source,
pub solo: bool,
pub overrides: RunOverrides,
pub review_of: Option<String>,
}Expand description
What to file. Everything magi run / magi review take that changes what
the run does rides on the task, so a loop that executes it behaves the same
as this process would have.
Fields§
§instruction: StringThe task text; for a review, a line saying which branch.
title: StringThe task’s title.
repo: PathBufAbsolute repository path.
source: SourceWho asked: the operator, or the agent seat named by MAGI_RUN / MAGI_NODE.
solo: bool--solo.
overrides: RunOverridesCommand-line choices carried onto the task.
review_of: Option<String>magi review <branch>: the branch to review.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filing
impl RefUnwindSafe for Filing
impl Send for Filing
impl Sync for Filing
impl Unpin for Filing
impl UnsafeUnpin for Filing
impl UnwindSafe for Filing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more