pub struct ConductOutcome {
pub run_id: String,
pub unreadable: Option<String>,
pub run_status: Option<String>,
pub open_findings: Vec<ConductFinding>,
pub rounds_used: usize,
pub rounds_max: usize,
pub rounds: Vec<ConductRound>,
pub branch: Option<String>,
pub branch_head: Option<String>,
}Expand description
How a task’s last run ended, for a Failed/Held task the conductor has
not yet been shown — the “終わったタスク” the whole feature exists for.
Fields§
§run_id: StringThe run this task’s last attempt produced.
unreadable: Option<String>If the run state could not be read at all (a schema this build does not speak, most often), the reason — never silently treated as “no outcome to show”.
run_status: Option<String>crate::run::RunStatus::as_str, when the state could be read.
open_findings: Vec<ConductFinding>Findings still open when the review loop stopped trying — the last round’s, when that round was not clean.
rounds_used: usizeReview rounds actually used.
rounds_max: usizeReview rounds the run’s config allowed.
rounds: Vec<ConductRound>Every review round, oldest first — see ConductRound.
branch: Option<String>The surviving candidate’s branch, when the tally ran.
branch_head: Option<String>Short hash of branch’s head, when it could be read.
Trait Implementations§
Source§impl Clone for ConductOutcome
impl Clone for ConductOutcome
Source§fn clone(&self) -> ConductOutcome
fn clone(&self) -> ConductOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConductOutcome
impl RefUnwindSafe for ConductOutcome
impl Send for ConductOutcome
impl Sync for ConductOutcome
impl Unpin for ConductOutcome
impl UnsafeUnpin for ConductOutcome
impl UnwindSafe for ConductOutcome
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