pub struct ModelScorecard {
pub provider_id: String,
pub model: String,
pub role: ModelRouteRole,
pub success_rate: f64,
pub verifier_pass_rate: f64,
pub tool_call_validity: f64,
pub cost_per_1k_tokens: f64,
pub latency_ms: f64,
pub retry_rate: f64,
pub unsafe_action_rate: f64,
}Fields§
§provider_id: String§model: String§role: ModelRouteRole§success_rate: f64§verifier_pass_rate: f64§tool_call_validity: f64§cost_per_1k_tokens: f64§latency_ms: f64§retry_rate: f64§unsafe_action_rate: f64Trait Implementations§
Source§impl Clone for ModelScorecard
impl Clone for ModelScorecard
Source§impl Debug for ModelScorecard
impl Debug for ModelScorecard
Source§impl<'de> Deserialize<'de> for ModelScorecard
impl<'de> Deserialize<'de> for ModelScorecard
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
Source§impl PartialEq for ModelScorecard
impl PartialEq for ModelScorecard
Source§impl Serialize for ModelScorecard
impl Serialize for ModelScorecard
impl StructuralPartialEq for ModelScorecard
Auto Trait Implementations§
impl Freeze for ModelScorecard
impl RefUnwindSafe for ModelScorecard
impl Send for ModelScorecard
impl Sync for ModelScorecard
impl Unpin for ModelScorecard
impl UnsafeUnpin for ModelScorecard
impl UnwindSafe for ModelScorecard
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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