pub struct ParetoPoint {
pub model_id: String,
pub accuracy: f64,
pub cost: f64,
pub latency: f64,
pub dominated_by: Vec<String>,
}Expand description
Point on Pareto frontier.
Fields§
§model_id: StringModel identifier.
accuracy: f64Accuracy score.
cost: f64Cost metric.
latency: f64Latency metric.
dominated_by: Vec<String>Models that dominate this one.
Trait Implementations§
Source§impl Clone for ParetoPoint
impl Clone for ParetoPoint
Source§fn clone(&self) -> ParetoPoint
fn clone(&self) -> ParetoPoint
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 ParetoPoint
impl Debug for ParetoPoint
Source§impl<'de> Deserialize<'de> for ParetoPoint
impl<'de> Deserialize<'de> for ParetoPoint
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 ParetoPoint
impl RefUnwindSafe for ParetoPoint
impl Send for ParetoPoint
impl Sync for ParetoPoint
impl Unpin for ParetoPoint
impl UnsafeUnpin for ParetoPoint
impl UnwindSafe for ParetoPoint
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