pub struct SessionClass {
pub id: String,
pub project: Option<String>,
pub model: Option<String>,
pub task_type: TaskType,
pub confidence: f64,
pub signals: Vec<String>,
pub rollup: Rollup,
}Expand description
One classified session row (sub-agent transcript spend folded into it).
Fields§
§id: String§project: Option<String>§model: Option<String>§task_type: TaskType§confidence: f64Winning score / sum of all type scores, clamped to [0,1]. 0.0 for
Unknown (no signal); 1.0 when exactly one type scored.
signals: Vec<String>Small, human-readable, deterministically ordered notes on why this call
was made (e.g. prompt keyword: "fix", tool mix: 12 Edit, 8 Bash).
rollup: RollupTrait Implementations§
Source§impl Clone for SessionClass
impl Clone for SessionClass
Source§fn clone(&self) -> SessionClass
fn clone(&self) -> SessionClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionClass
impl Debug for SessionClass
Auto Trait Implementations§
impl Freeze for SessionClass
impl RefUnwindSafe for SessionClass
impl Send for SessionClass
impl Sync for SessionClass
impl Unpin for SessionClass
impl UnsafeUnpin for SessionClass
impl UnwindSafe for SessionClass
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