pub struct GraftView {Show 19 fields
pub outcome: &'static str,
pub reason: Option<String>,
pub agent: Option<String>,
pub handovers: Vec<GraftHandoverView>,
pub winner: Option<String>,
pub sources: Vec<String>,
pub lines: Option<usize>,
pub limit: Option<usize>,
pub requested: Vec<GraftStrengthView>,
pub adopted_count: usize,
pub rejected_count: usize,
pub unconfirmed_count: usize,
pub notes_md: Vec<Node>,
pub reasoning_md: Vec<Node>,
pub recovered: bool,
pub unavailable: Vec<Unavailable>,
pub diff_available: bool,
pub pre: String,
pub post: Option<String>,
}Expand description
The graft card.
Fields§
§outcome: &'static strapplied, rolled_back or unfinished.
reason: Option<String>The rollback reason.
agent: Option<String>The agent that actually answered the round.
handovers: Vec<GraftHandoverView>Seat changes, oldest first.
winner: Option<String>The winning candidate.
sources: Vec<String>Candidates the strengths came from.
lines: Option<usize>Changed lines the graft introduced (supporting information).
limit: Option<usize>The size limit.
requested: Vec<GraftStrengthView>What the judges asked for, with what the fixer’s report confirms.
adopted_count: usizeCounts of confirmed, rejected and unconfirmed requests.
rejected_count: usizeRejected by the fixer.
unconfirmed_count: usizeNeither adopted nor rejected in the report, or no report.
notes_md: Vec<Node>The fixer’s own summary of what it ported, as markdown nodes.
reasoning_md: Vec<Node>The fixer’s reasoning before its report, as markdown nodes.
recovered: boolDetails came from artifacts/ rather than the run record.
Details that could not be shown.
diff_available: boolBoth commits are known, so GET .../graft.diff can answer.
pre: StringAbbreviated pre-graft commit.
post: Option<String>Abbreviated post-graft commit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraftView
impl RefUnwindSafe for GraftView
impl Send for GraftView
impl Sync for GraftView
impl Unpin for GraftView
impl UnsafeUnpin for GraftView
impl UnwindSafe for GraftView
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
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> ⓘ
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> ⓘ
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