pub struct RiskReason {
pub reason: String,
pub count: usize,
pub text: String,
}Expand description
One reason finished work needs a closer look, with how many ticks.
Fields§
§reason: Stringregression_only, attested, strength_below_target, stale,
scope_outside or external_executor, the riskiest first
(speccoder_core::inbox::Risk).
count: usizeTicks with it.
text: StringThe chip (2 regression-only).
Trait Implementations§
Source§impl Clone for RiskReason
impl Clone for RiskReason
Source§impl Debug for RiskReason
impl Debug for RiskReason
impl Eq for RiskReason
Source§impl JsonSchema for RiskReason
impl JsonSchema for RiskReason
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RiskReason
impl PartialEq for RiskReason
Source§impl Serialize for RiskReason
impl Serialize for RiskReason
impl StructuralPartialEq for RiskReason
Auto Trait Implementations§
impl Freeze for RiskReason
impl RefUnwindSafe for RiskReason
impl Send for RiskReason
impl Sync for RiskReason
impl Unpin for RiskReason
impl UnsafeUnpin for RiskReason
impl UnwindSafe for RiskReason
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