pub struct AgentHistoryEntry {
pub bean_id: String,
pub title: String,
pub attempt: u32,
pub success: bool,
pub duration_secs: u64,
pub tokens: u64,
pub cost: f64,
pub tool_count: usize,
pub error: Option<String>,
pub model: String,
pub timestamp: String,
}Fields§
§bean_id: String§title: String§attempt: u32§success: bool§duration_secs: u64§tokens: u64§cost: f64§tool_count: usize§error: Option<String>§model: String§timestamp: StringTrait Implementations§
Source§impl Debug for AgentHistoryEntry
impl Debug for AgentHistoryEntry
Auto Trait Implementations§
impl Freeze for AgentHistoryEntry
impl RefUnwindSafe for AgentHistoryEntry
impl Send for AgentHistoryEntry
impl Sync for AgentHistoryEntry
impl Unpin for AgentHistoryEntry
impl UnsafeUnpin for AgentHistoryEntry
impl UnwindSafe for AgentHistoryEntry
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