pub struct ContextPricingTier {
pub label: String,
pub input_cost_per_million: f64,
pub output_cost_per_million: f64,
pub upper_bound: Option<u64>,
}Fields§
§label: String§input_cost_per_million: f64§output_cost_per_million: f64§upper_bound: Option<u64>Trait Implementations§
Source§impl Clone for ContextPricingTier
impl Clone for ContextPricingTier
Source§fn clone(&self) -> ContextPricingTier
fn clone(&self) -> ContextPricingTier
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 ContextPricingTier
impl Debug for ContextPricingTier
Source§impl<'de> Deserialize<'de> for ContextPricingTier
impl<'de> Deserialize<'de> for ContextPricingTier
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 ContextPricingTier
impl PartialEq for ContextPricingTier
Source§impl Serialize for ContextPricingTier
impl Serialize for ContextPricingTier
impl StructuralPartialEq for ContextPricingTier
Auto Trait Implementations§
impl Freeze for ContextPricingTier
impl RefUnwindSafe for ContextPricingTier
impl Send for ContextPricingTier
impl Sync for ContextPricingTier
impl Unpin for ContextPricingTier
impl UnwindSafe for ContextPricingTier
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