pub struct OverlayModel {
pub model_id: String,
pub raw_model: String,
pub billed_cost: Decimal,
pub tokens: TokenTotals,
pub appearances: Vec<OverlayAppearance>,
pub repricing: Vec<RepricingDelta>,
}Expand description
An API-billed model the user actually used, overlaid on the frontiers.
Fields§
§model_id: StringResolved pricing-catalog key.
raw_model: StringThe raw x_model string from the logs (for display).
billed_cost: DecimalCostroid’s cache-correct actual spend across this model’s API rows.
tokens: TokenTotals§appearances: Vec<OverlayAppearance>Per benchmark this model appears on. Empty => on no bundled benchmark (a gap).
repricing: Vec<RepricingDelta>Equal-volume, cost-only re-pricing comparisons vs the frontier targets.
Trait Implementations§
Source§impl Clone for OverlayModel
impl Clone for OverlayModel
Source§fn clone(&self) -> OverlayModel
fn clone(&self) -> OverlayModel
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 OverlayModel
impl Debug for OverlayModel
Source§impl PartialEq for OverlayModel
impl PartialEq for OverlayModel
Source§fn eq(&self, other: &OverlayModel) -> bool
fn eq(&self, other: &OverlayModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OverlayModel
impl Serialize for OverlayModel
impl StructuralPartialEq for OverlayModel
Auto Trait Implementations§
impl Freeze for OverlayModel
impl RefUnwindSafe for OverlayModel
impl Send for OverlayModel
impl Sync for OverlayModel
impl Unpin for OverlayModel
impl UnsafeUnpin for OverlayModel
impl UnwindSafe for OverlayModel
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