pub struct CandidateRow {
pub label: String,
pub agent: String,
pub state: &'static str,
pub detail: Option<String>,
pub files: usize,
pub commits: usize,
pub duration_secs: u64,
pub winner: bool,
pub provisional_winner: bool,
}Expand description
One implementation.
Fields§
§label: StringBlind label.
agent: StringAgent that wrote it.
state: &'static strfailed, verified_noop, no_change or changed.
detail: Option<String>The failure, the no-op evidence or the candidate’s summary, one line.
files: usizeFiles touched.
commits: usizeCommits ahead of base.
duration_secs: u64Wall-clock seconds.
winner: boolThe tally’s winner, and the tally met quorum.
provisional_winner: boolThe tally’s winner, but the tally did not meet quorum.
Trait Implementations§
Source§impl Debug for CandidateRow
impl Debug for CandidateRow
Auto Trait Implementations§
impl Freeze for CandidateRow
impl RefUnwindSafe for CandidateRow
impl Send for CandidateRow
impl Sync for CandidateRow
impl Unpin for CandidateRow
impl UnsafeUnpin for CandidateRow
impl UnwindSafe for CandidateRow
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> 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