pub struct ErrorRateByModel {
pub model: Option<String>,
pub total: usize,
pub errors: usize,
pub error_rate: f64,
}Expand description
Error-rate summary for LLM spans grouped by model.
Fields§
§model: Option<String>§total: usize§errors: usize§error_rate: f64Fraction in the range 0.0..1.0.
Trait Implementations§
Source§impl Clone for ErrorRateByModel
impl Clone for ErrorRateByModel
Source§fn clone(&self) -> ErrorRateByModel
fn clone(&self) -> ErrorRateByModel
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 ErrorRateByModel
impl Debug for ErrorRateByModel
Source§impl<'de> Deserialize<'de> for ErrorRateByModel
impl<'de> Deserialize<'de> for ErrorRateByModel
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 ErrorRateByModel
impl RefUnwindSafe for ErrorRateByModel
impl Send for ErrorRateByModel
impl Sync for ErrorRateByModel
impl Unpin for ErrorRateByModel
impl UnsafeUnpin for ErrorRateByModel
impl UnwindSafe for ErrorRateByModel
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