pub struct Attempt {
pub id: String,
pub profile: Option<String>,
pub step: Option<String>,
pub status: String,
pub started_at: Option<String>,
pub ended_at: Option<String>,
pub outcome: Option<String>,
pub handoff: Option<Handoff>,
pub error: Option<String>,
}Expand description
One run at a task: a profile claimed it, worked it in a session, and ended with a handoff, a block, or an error.
Fields§
§id: StringThe id, unique on the board.
profile: Option<String>The profile that ran it.
step: Option<String>The workflow step it ran, when the task has steps.
status: StringThe board’s status word for the run.
started_at: Option<String>Start, RFC3339.
ended_at: Option<String>End, RFC3339, when ended.
outcome: Option<String>How it ended, in the board’s words.
handoff: Option<Handoff>What it handed off.
error: Option<String>The error, when it failed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attempt
impl<'de> Deserialize<'de> for Attempt
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
Source§impl JsonSchema for Attempt
impl JsonSchema for Attempt
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 Attempt
Auto Trait Implementations§
impl Freeze for Attempt
impl RefUnwindSafe for Attempt
impl Send for Attempt
impl Sync for Attempt
impl Unpin for Attempt
impl UnsafeUnpin for Attempt
impl UnwindSafe for Attempt
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