pub struct ReportRow {
pub label: String,
pub sublabel: String,
pub models: Vec<String>,
pub extra: String,
pub metrics: Metrics,
pub kind: RowKind,
}Expand description
One rendered row. Columns are selected per ReportKind by the renderer.
Fields§
§label: StringPrimary group label: date / YYYY-Www / YYYY-MM / session id.
sublabel: StringSecondary label: agent (“All”/“Claude”/“Codex”), project, or model.
models: Vec<String>Model ids relevant to this row (already de-synthetic’d), for the Models column. Empty when not applicable.
extra: StringFree-form extra cell (e.g. session start time, duration). Empty if unused.
metrics: Metrics§kind: RowKindTrait Implementations§
Source§impl Serialize for ReportRow
impl Serialize for ReportRow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ReportRow
impl RefUnwindSafe for ReportRow
impl Send for ReportRow
impl Sync for ReportRow
impl Unpin for ReportRow
impl UnsafeUnpin for ReportRow
impl UnwindSafe for ReportRow
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