pub struct PricingEntry {
pub provider: String,
pub model: String,
pub display_name: String,
pub input_per_million: f64,
pub output_per_million: f64,
pub cached_per_million: f64,
}Expand description
Pricing entry from the pricing table.
Fields§
§provider: String§model: String§display_name: String§input_per_million: f64§output_per_million: f64§cached_per_million: f64Trait Implementations§
Source§impl Clone for PricingEntry
impl Clone for PricingEntry
Source§fn clone(&self) -> PricingEntry
fn clone(&self) -> PricingEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 PricingEntry
impl Debug for PricingEntry
Source§impl<'de> Deserialize<'de> for PricingEntry
impl<'de> Deserialize<'de> for PricingEntry
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 PricingEntry
impl RefUnwindSafe for PricingEntry
impl Send for PricingEntry
impl Sync for PricingEntry
impl Unpin for PricingEntry
impl UnsafeUnpin for PricingEntry
impl UnwindSafe for PricingEntry
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