pub struct LlmCallStep {
pub index: u32,
pub model: String,
pub messages: Vec<Value>,
pub response: Value,
pub input_tokens: u32,
pub output_tokens: u32,
pub latency_ms: u64,
pub timestamp: DateTime<Utc>,
}Fields§
§index: u32§model: String§messages: Vec<Value>§response: Value§input_tokens: u32§output_tokens: u32§latency_ms: u64§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for LlmCallStep
impl Clone for LlmCallStep
Source§fn clone(&self) -> LlmCallStep
fn clone(&self) -> LlmCallStep
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 LlmCallStep
impl Debug for LlmCallStep
Source§impl<'de> Deserialize<'de> for LlmCallStep
impl<'de> Deserialize<'de> for LlmCallStep
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
Auto Trait Implementations§
impl Freeze for LlmCallStep
impl RefUnwindSafe for LlmCallStep
impl Send for LlmCallStep
impl Sync for LlmCallStep
impl Unpin for LlmCallStep
impl UnsafeUnpin for LlmCallStep
impl UnwindSafe for LlmCallStep
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