pub struct ModelSpec {
pub id: &'static str,
pub name: &'static str,
pub provider: &'static str,
pub input: Option<f32>,
pub output: Option<f32>,
}Fields§
§id: &'static str§name: &'static str§provider: &'static str§input: Option<f32>US dollars per million tokens when known.
output: Option<f32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelSpec
impl RefUnwindSafe for ModelSpec
impl Send for ModelSpec
impl Sync for ModelSpec
impl Unpin for ModelSpec
impl UnsafeUnpin for ModelSpec
impl UnwindSafe for ModelSpec
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