pub struct LlmCallObservation {
pub selected_model: String,
pub tier: Option<String>,
pub is_routed: bool,
pub is_success: bool,
pub duration: Duration,
pub usage: Option<Usage>,
}Expand description
One completed model call observed at the algorithm offload boundary.
Fields§
§selected_model: StringModel selected for the completed call.
tier: Option<String>Routing tier attached to the selected model, when present.
is_routed: boolWhether this was the routed backend call rather than classifier or judge overhead.
is_success: boolWhether the call completed successfully.
duration: DurationTime spent waiting for the model call to resolve.
usage: Option<Usage>Normalized usage for a buffered successful response.
Trait Implementations§
Source§impl Clone for LlmCallObservation
impl Clone for LlmCallObservation
Source§fn clone(&self) -> LlmCallObservation
fn clone(&self) -> LlmCallObservation
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 LlmCallObservation
impl RefUnwindSafe for LlmCallObservation
impl Send for LlmCallObservation
impl Sync for LlmCallObservation
impl Unpin for LlmCallObservation
impl UnsafeUnpin for LlmCallObservation
impl UnwindSafe for LlmCallObservation
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