pub struct LlmTraceEntry {
pub model: String,
pub input_tokens: i64,
pub output_tokens: i64,
pub duration_ms: u64,
}Expand description
A single LLM call trace entry.
Fields§
§model: String§input_tokens: i64§output_tokens: i64§duration_ms: u64Trait Implementations§
Source§impl Clone for LlmTraceEntry
impl Clone for LlmTraceEntry
Source§fn clone(&self) -> LlmTraceEntry
fn clone(&self) -> LlmTraceEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LlmTraceEntry
impl RefUnwindSafe for LlmTraceEntry
impl Send for LlmTraceEntry
impl Sync for LlmTraceEntry
impl Unpin for LlmTraceEntry
impl UnsafeUnpin for LlmTraceEntry
impl UnwindSafe for LlmTraceEntry
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