pub struct UnitBug {
pub key: String,
pub title: String,
pub stage: Stage,
pub outcome: Option<Outcome>,
pub verdict: Option<Verdict>,
}Expand description
The bug a unit is, as the board shows it.
Fields§
§key: String<unit>/<task>: what the Bug sheet opens.
title: StringA short title.
stage: StageWhere it is (record until it has run).
outcome: Option<Outcome>How it stands; None until it has run.
verdict: Option<Verdict>The fix’s verdict, once judged.
Trait Implementations§
impl Eq for UnitBug
Source§impl JsonSchema for UnitBug
impl JsonSchema for UnitBug
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 moreimpl StructuralPartialEq for UnitBug
Auto Trait Implementations§
impl Forget for UnitBug
impl Freeze for UnitBug
impl RefUnwindSafe for UnitBug
impl Send for UnitBug
impl Sync for UnitBug
impl Unpin for UnitBug
impl UnsafeUnpin for UnitBug
impl UnwindSafe for UnitBug
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