pub struct RoutingDatasetRow {Show 25 fields
pub event_id: String,
pub turn_id: String,
pub session_id: String,
pub agent_id: String,
pub channel: String,
pub selected_model: String,
pub strategy: String,
pub primary_model: String,
pub override_model: Option<String>,
pub complexity: Option<String>,
pub user_excerpt: String,
pub candidates_json: String,
pub attribution: Option<String>,
pub metascore_json: Option<String>,
pub features_json: Option<String>,
pub schema_version: i64,
pub decision_at: String,
pub total_tokens_in: i64,
pub total_tokens_out: i64,
pub total_cost: f64,
pub inference_count: i64,
pub any_cached: bool,
pub avg_latency_ms: Option<f64>,
pub avg_quality_score: Option<f64>,
pub any_escalation: bool,
}Expand description
A single row in the routing dataset — one routing decision joined with its aggregated inference cost outcome.
Fields§
§event_id: String§turn_id: String§session_id: String§agent_id: String§channel: String§selected_model: String§strategy: String§primary_model: String§override_model: Option<String>§complexity: Option<String>§user_excerpt: String§candidates_json: String§attribution: Option<String>§metascore_json: Option<String>§features_json: Option<String>§schema_version: i64§decision_at: String§total_tokens_in: i64§total_tokens_out: i64§total_cost: f64§inference_count: i64§any_cached: bool§avg_latency_ms: Option<f64>§avg_quality_score: Option<f64>§any_escalation: boolTrait Implementations§
Source§impl Clone for RoutingDatasetRow
impl Clone for RoutingDatasetRow
Source§fn clone(&self) -> RoutingDatasetRow
fn clone(&self) -> RoutingDatasetRow
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 moreSource§impl Debug for RoutingDatasetRow
impl Debug for RoutingDatasetRow
Auto Trait Implementations§
impl Freeze for RoutingDatasetRow
impl RefUnwindSafe for RoutingDatasetRow
impl Send for RoutingDatasetRow
impl Sync for RoutingDatasetRow
impl Unpin for RoutingDatasetRow
impl UnsafeUnpin for RoutingDatasetRow
impl UnwindSafe for RoutingDatasetRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more