pub struct PricingWarning {
pub unknown_model: String,
pub fallback_to: String,
pub turn_count: u64,
pub fallback_cost: f64,
}Expand description
One unknown-model fallback aggregated across all sessions.
Fields§
§unknown_model: StringThe model name as it appeared in the JSONL (e.g. “claude-opus-4-8”).
fallback_to: StringThe built-in entry whose prices were used as a stand-in.
turn_count: u64How many turns from this model contributed to the totals.
fallback_cost: f64Total estimated cost charged at the fallback’s rates.
Trait Implementations§
Source§impl Clone for PricingWarning
impl Clone for PricingWarning
Source§fn clone(&self) -> PricingWarning
fn clone(&self) -> PricingWarning
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 PricingWarning
impl Debug for PricingWarning
Auto Trait Implementations§
impl Freeze for PricingWarning
impl RefUnwindSafe for PricingWarning
impl Send for PricingWarning
impl Sync for PricingWarning
impl Unpin for PricingWarning
impl UnsafeUnpin for PricingWarning
impl UnwindSafe for PricingWarning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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