pub struct TaskStopped {
pub feature: String,
pub task: String,
pub outcome: String,
pub code: Option<String>,
pub attempt_ref: String,
pub gates: Vec<GateMark>,
pub run: Option<String>,
pub summary: String,
}Expand description
task.stopped: an attempt saved without a tick.
Fields§
§feature: StringThe unit (feature) it belongs to.
task: StringThe task id.
outcome: Stringverification_failed, needs_approval, blocked_by_gate, …
code: Option<String>The reason’s code, when it has one.
attempt_ref: StringThe saved attempt.
gates: Vec<GateMark>The gates that ran.
run: Option<String>The run.
summary: StringOne sentence, ready for a chat message.
Trait Implementations§
Source§impl Clone for TaskStopped
impl Clone for TaskStopped
Source§impl Debug for TaskStopped
impl Debug for TaskStopped
Source§impl<'de> Deserialize<'de> for TaskStopped
impl<'de> Deserialize<'de> for TaskStopped
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TaskStopped
Source§impl JsonSchema for TaskStopped
impl JsonSchema for TaskStopped
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 TaskStopped
impl PartialEq for TaskStopped
Source§impl Serialize for TaskStopped
impl Serialize for TaskStopped
impl StructuralPartialEq for TaskStopped
Auto Trait Implementations§
impl Forget for TaskStopped
impl Freeze for TaskStopped
impl RefUnwindSafe for TaskStopped
impl Send for TaskStopped
impl Sync for TaskStopped
impl Unpin for TaskStopped
impl UnsafeUnpin for TaskStopped
impl UnwindSafe for TaskStopped
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