pub struct SessionResult {Show 13 fields
pub session_id: String,
pub project: String,
pub turn_details: Vec<TurnDetail>,
pub agent_summary: AgentSummary,
pub total_tokens: AggregatedTokens,
pub total_cost: f64,
pub stop_reason_counts: HashMap<String, usize>,
pub duration_minutes: f64,
pub max_context: u64,
pub compaction_count: usize,
pub cache_write_5m_pct: f64,
pub cache_write_1h_pct: f64,
pub model: String,
}Fields§
§session_id: String§project: String§turn_details: Vec<TurnDetail>§agent_summary: AgentSummary§total_tokens: AggregatedTokens§total_cost: f64§stop_reason_counts: HashMap<String, usize>§duration_minutes: f64§max_context: u64§compaction_count: usize§cache_write_5m_pct: f64§cache_write_1h_pct: f64§model: StringAuto Trait Implementations§
impl Freeze for SessionResult
impl RefUnwindSafe for SessionResult
impl Send for SessionResult
impl Sync for SessionResult
impl Unpin for SessionResult
impl UnsafeUnpin for SessionResult
impl UnwindSafe for SessionResult
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