pub struct TraceRecord {Show 30 fields
pub id: String,
pub ts_request_ms: i64,
pub ts_response_ms: Option<i64>,
pub session_id: Option<String>,
pub harness: Option<String>,
pub client_format: Option<String>,
pub upstream_provider: Option<String>,
pub upstream_format: Option<String>,
pub requested_model: Option<String>,
pub routed_model: Option<String>,
pub method: Option<String>,
pub path: Option<String>,
pub status: Option<i64>,
pub streamed: Option<bool>,
pub usage: Usage,
pub cost_usd: Option<f64>,
pub billing_bucket: Option<String>,
pub req_body_path: Option<String>,
pub upstream_req_body_path: Option<String>,
pub resp_body_path: Option<String>,
pub req_headers_json: Option<String>,
pub resp_headers_json: Option<String>,
pub error: Option<String>,
pub account_id: Option<String>,
pub run_id: Option<String>,
pub tags: Option<String>,
pub client_ip: Option<String>,
pub key_fingerprint: Option<String>,
pub reasoning_effort: Option<String>,
pub thinking_budget: Option<i64>,
}Fields§
§id: String§ts_request_ms: i64§ts_response_ms: Option<i64>§session_id: Option<String>§harness: Option<String>§client_format: Option<String>§upstream_provider: Option<String>§upstream_format: Option<String>§requested_model: Option<String>§routed_model: Option<String>§method: Option<String>§path: Option<String>§status: Option<i64>§streamed: Option<bool>§usage: Usage§cost_usd: Option<f64>§billing_bucket: Option<String>§req_body_path: Option<String>§upstream_req_body_path: Option<String>§resp_body_path: Option<String>§req_headers_json: Option<String>§resp_headers_json: Option<String>§error: Option<String>§account_id: Option<String>§run_id: Option<String>§client_ip: Option<String>§key_fingerprint: Option<String>§reasoning_effort: Option<String>§thinking_budget: Option<i64>Trait Implementations§
Source§impl Clone for TraceRecord
impl Clone for TraceRecord
Source§fn clone(&self) -> TraceRecord
fn clone(&self) -> TraceRecord
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 TraceRecord
impl Debug for TraceRecord
Source§impl Default for TraceRecord
impl Default for TraceRecord
Source§fn default() -> TraceRecord
fn default() -> TraceRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraceRecord
impl<'de> Deserialize<'de> for TraceRecord
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 TraceRecord
impl RefUnwindSafe for TraceRecord
impl Send for TraceRecord
impl Sync for TraceRecord
impl Unpin for TraceRecord
impl UnsafeUnpin for TraceRecord
impl UnwindSafe for TraceRecord
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