pub struct PricingRates {
pub input: f64,
pub output: f64,
pub cache_read: Option<f64>,
pub cache_creation: Option<f64>,
pub reasoning: Option<f64>,
}Fields§
§input: f64§output: f64§cache_read: Option<f64>§cache_creation: Option<f64>§reasoning: Option<f64>Trait Implementations§
Source§impl Clone for PricingRates
impl Clone for PricingRates
Source§fn clone(&self) -> PricingRates
fn clone(&self) -> PricingRates
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 PricingRates
impl Debug for PricingRates
Source§impl PartialEq for PricingRates
impl PartialEq for PricingRates
impl StructuralPartialEq for PricingRates
Auto Trait Implementations§
impl Freeze for PricingRates
impl RefUnwindSafe for PricingRates
impl Send for PricingRates
impl Sync for PricingRates
impl Unpin for PricingRates
impl UnsafeUnpin for PricingRates
impl UnwindSafe for PricingRates
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