pub struct GraftStrengthView {
pub id: String,
pub source: String,
pub text: String,
pub state: &'static str,
pub why: Option<String>,
}Expand description
One strength the judges asked to port and where it stands.
Fields§
§id: StringId the prompt gave it.
source: StringCandidate it came from.
text: StringThe strength.
state: &'static stradopted (the fixer’s report names it), rejected, unreported (a
report exists and omits it) or unknown (no report to check against).
why: Option<String>The fixer’s reason, for a rejection.
Trait Implementations§
Source§impl Debug for GraftStrengthView
impl Debug for GraftStrengthView
Auto Trait Implementations§
impl Freeze for GraftStrengthView
impl RefUnwindSafe for GraftStrengthView
impl Send for GraftStrengthView
impl Sync for GraftStrengthView
impl Unpin for GraftStrengthView
impl UnsafeUnpin for GraftStrengthView
impl UnwindSafe for GraftStrengthView
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