pub struct Spent {
pub agent: String,
pub kind: String,
pub effort: String,
pub subject: Option<i64>,
pub seconds: f64,
pub retry: bool,
pub fallback: bool,
pub tokens: Option<u64>,
pub ok: bool,
}Expand description
One call to one agent.
Fields§
§agent: String§kind: StringThe kind of call, as the effort schedule names it: triage,
review_1, respond, and the rest.
effort: StringWhat it was asked for, empty when the CLI’s own default was used.
subject: Option<i64>The issue or pull request this call was about, when it was about one.
seconds: f64§retry: boolThe same agent, asked again after an unusable answer.
fallback: boolA stand in answering for an agent that could not.
tokens: Option<u64>Where the CLI’s event stream reports it. Blank where it does not, which is most of them.
ok: boolWhether the call produced a usable answer.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spent
impl<'de> Deserialize<'de> for Spent
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 Freeze for Spent
impl RefUnwindSafe for Spent
impl Send for Spent
impl Sync for Spent
impl Unpin for Spent
impl UnsafeUnpin for Spent
impl UnwindSafe for Spent
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