pub struct Marker {
pub key: String,
pub before: String,
pub head: String,
pub attempt: u32,
pub sample: usize,
pub acceptance: Option<Value>,
pub run_id: Option<String>,
pub asked: u32,
pub run_grants: Vec<Object>,
}Expand description
An attempt in progress.
Fields§
§key: StringThe agentplane admission key.
before: StringThe checkpoint the attempt started from.
head: StringThe worktree’s HEAD then; a different HEAD means the marker is stale.
attempt: u32Which attempt of the task run.
sample: usizeWhich best-of-n sample (0-based).
acceptance: Option<Value>The acceptance tests prepared for the task run.
run_id: Option<String>The run the attempt belongs to: an invocation resuming it adopts it.
asked: u32The run’s prompts when the attempt started.
run_grants: Vec<Object>The run’s grants when it started.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Marker
impl<'de> Deserialize<'de> for Marker
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 Marker
impl StructuralPartialEq for Marker
Auto Trait Implementations§
impl Freeze for Marker
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnsafeUnpin for Marker
impl UnwindSafe for Marker
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.