pub struct Tick<'a> {Show 18 fields
pub repo: &'a Path,
pub config: &'a str,
pub attest: &'a AttestConfig,
pub format: &'a str,
pub feature: &'a str,
pub feature_dir: &'a str,
pub task: &'a str,
pub title: &'a str,
pub line_hash: &'a str,
pub section: Option<&'a str>,
pub section_text: &'a str,
pub requirements: &'a [(String, String)],
pub commit: &'a str,
pub verdict: &'a str,
pub sandbox: Value,
pub executor: Value,
pub model: Value,
pub bug: Option<(Value, Value)>,
}Expand description
Everything a tick’s statements are made of besides the run report.
Fields§
§repo: &'a PathThe repository (a worktree or the checkout: refs are shared).
config: &'a strspeccoder.toml as the attempt read it.
attest: &'a AttestConfig[attest].
format: &'a strThe spec format, e.g. speckit.
feature: &'a strThe unit (feature) and its directory.
feature_dir: &'a strThe unit’s directory, relative to the project.
task: &'a strTask ID.
title: &'a strTask title.
line_hash: &'a strThe task line’s hash before the tick.
section: Option<&'a str>The requirement the task belongs to, e.g. US1.
section_text: &'a strThat requirement’s text, as the attempt was given it.
requirements: &'a [(String, String)]The unit’s requirement identifiers with their line hashes (the format’s; the trace names those the title cites).
commit: &'a strThe tick commit.
verdict: &'a strThe verdict word.
sandbox: Value{ mode, backend, network }.
executor: Value{ kind, agent? }.
model: Value{ provider, model }, when one judged.
bug: Option<(Value, Value)>A bug task: the predicate’s bug and acceptance fields.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Tick<'a>
impl<'a> Freeze for Tick<'a>
impl<'a> RefUnwindSafe for Tick<'a>
impl<'a> Send for Tick<'a>
impl<'a> Sync for Tick<'a>
impl<'a> Unpin for Tick<'a>
impl<'a> UnsafeUnpin for Tick<'a>
impl<'a> UnwindSafe for Tick<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.
Creates a shared type from an unshared type.