pub struct Record<'a> {
pub run: Option<&'a str>,
pub outcome: &'a str,
pub reason: &'a str,
pub pending: Option<&'a Value>,
pub usage: Option<&'a Value>,
}Expand description
What an attempt ended with.
Fields§
§run: Option<&'a str>The agentplane run, when there was one (it names the ref).
outcome: &'a strblocked, verification_failed, …
reason: &'a strWhy.
pending: Option<&'a Value>The call awaiting approval, if the attempt stopped for one.
usage: Option<&'a Value>Model tokens the attempt used (cost).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Record<'a>
impl<'a> RefUnwindSafe for Record<'a>
impl<'a> Send for Record<'a>
impl<'a> Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> UnsafeUnpin for Record<'a>
impl<'a> UnwindSafe for Record<'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