pub struct Entry {Show 15 fields
pub ts: u64,
pub repo: String,
pub session: Option<String>,
pub surface: Option<String>,
pub surface_name: Option<String>,
pub dispatch: Option<String>,
pub research: bool,
pub model: String,
pub outcome: String,
pub turns: u32,
pub input: u64,
pub cached: u64,
pub output: u64,
pub thinking: u64,
pub cost_usd: Option<f64>,
}Expand description
An entry in the usage log recording metadata and token consumption of a single run.
Fields§
§ts: u64§repo: String§session: Option<String>§surface: Option<String>§surface_name: Option<String>§dispatch: Option<String>§research: bool§model: String§outcome: String§turns: u32§input: u64§cached: u64§output: u64§thinking: u64§cost_usd: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entry
impl Move for Entry
impl RefUnwindSafe for Entry
impl Send for Entrywhere
RawVecInner: Send,
impl Sync for Entrywhere
RawVecInner: Sync,
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entrywhere
RawVecInner: UnwindSafe,
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