pub struct Tick {
pub feature: String,
pub task: String,
pub title: String,
pub kind: TickKind,
pub anchor: Anchor,
pub line_sha256: Option<String>,
pub claim_sha256: Option<String>,
}Expand description
A ticked task at the checked head.
Fields§
§feature: StringThe unit, as the format adapter names it.
task: StringTask ID (T012, 1.3, bug:<slug>).
title: StringThe task’s title.
kind: TickKindA tick or a trailer-only task.
anchor: AnchorThe task line (a tick) or the home’s assessment (trailer-only).
line_sha256: Option<String>sha256 of the task line with its box read as open: what the
predicate’s task.line_hash must equal. None for trailer-only.
claim_sha256: Option<String>For trailer-only: the claim’s digest at the head (the bug’s triad).
Trait Implementations§
impl Eq for Tick
Source§impl JsonSchema for Tick
impl JsonSchema for Tick
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 Tick
Auto Trait Implementations§
impl Freeze for Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnsafeUnpin for Tick
impl UnwindSafe for Tick
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