pub struct Attempt {
pub by: String,
pub answer: Option<String>,
pub proofs: Vec<ProofRecord>,
pub steps: Vec<StepRecord>,
pub back: Vec<String>,
pub failed: Option<String>,
pub conversation: Option<String>,
pub changed: Vec<String>,
}Expand description
One try at a step’s work.
Fields§
§by: StringWho did the work: agent, algorithm, person or plan.
answer: Option<String>What they answered.
proofs: Vec<ProofRecord>The proofs asked, in order, up to the first that refused.
steps: Vec<StepRecord>The steps of the other plan, for a step by plan.
back: Vec<String>The earlier steps a refusal sent the work back to, when it named some.
failed: Option<String>Why the work failed before any proof was asked: its agent ended with an error, or it cannot be undone and was not done when the run stopped.
conversation: Option<String>The conversation the agent did the work in, when it said.
changed: Vec<String>The files added, changed or removed in the folder from when the work began to when it ended, in order, when the runner saw both. Work done at the same time by other steps shows here too.
Implementations§
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
Auto Trait Implementations§
impl Forget for Attempt
impl Freeze for Attemptwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ProofRecord>: Freeze,
PhantomData<StepRecord>: Freeze,
PhantomData<String>: Freeze,
impl Move for Attempt
impl RefUnwindSafe for Attempt
impl Send for Attemptwhere
RawVecInner: Send,
impl Sync for Attemptwhere
RawVecInner: Sync,
impl Unpin for Attempt
impl UnsafeUnpin for Attemptwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ProofRecord>: UnsafeUnpin,
PhantomData<StepRecord>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Attemptwhere
RawVecInner: UnwindSafe,
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