pub struct InferenceRoutingCostDelta {
pub selected_estimate: InferenceRoutingCostEstimate,
pub baseline_estimate: InferenceRoutingCostEstimate,
pub estimated_savings_usd: f64,
pub classifier_overhead_usd: Option<f64>,
}Fields§
§selected_estimate: InferenceRoutingCostEstimate§baseline_estimate: InferenceRoutingCostEstimate§estimated_savings_usd: f64§classifier_overhead_usd: Option<f64>Trait Implementations§
Source§impl Clone for InferenceRoutingCostDelta
impl Clone for InferenceRoutingCostDelta
Source§fn clone(&self) -> InferenceRoutingCostDelta
fn clone(&self) -> InferenceRoutingCostDelta
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 InferenceRoutingCostDelta
impl Debug for InferenceRoutingCostDelta
Source§impl<'de> Deserialize<'de> for InferenceRoutingCostDelta
impl<'de> Deserialize<'de> for InferenceRoutingCostDelta
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 InferenceRoutingCostDelta
impl PartialEq for InferenceRoutingCostDelta
Source§fn eq(&self, other: &InferenceRoutingCostDelta) -> bool
fn eq(&self, other: &InferenceRoutingCostDelta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InferenceRoutingCostDelta
Auto Trait Implementations§
impl Freeze for InferenceRoutingCostDelta
impl RefUnwindSafe for InferenceRoutingCostDelta
impl Send for InferenceRoutingCostDelta
impl Sync for InferenceRoutingCostDelta
impl Unpin for InferenceRoutingCostDelta
impl UnsafeUnpin for InferenceRoutingCostDelta
impl UnwindSafe for InferenceRoutingCostDelta
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