pub struct ModelPricing {
pub input_cost_per_1k: Option<f64>,
pub output_cost_per_1k: Option<f64>,
pub max_input_tokens: Option<u32>,
pub max_output_tokens: Option<u32>,
pub mode: Option<String>,
pub provider: Option<String>,
}Fields§
§input_cost_per_1k: Option<f64>§output_cost_per_1k: Option<f64>§max_input_tokens: Option<u32>§max_output_tokens: Option<u32>§mode: Option<String>§provider: Option<String>Trait Implementations§
Source§impl Clone for ModelPricing
impl Clone for ModelPricing
Source§fn clone(&self) -> ModelPricing
fn clone(&self) -> ModelPricing
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 moreAuto Trait Implementations§
impl Freeze for ModelPricing
impl RefUnwindSafe for ModelPricing
impl Send for ModelPricing
impl Sync for ModelPricing
impl Unpin for ModelPricing
impl UnwindSafe for ModelPricing
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