pub struct ModelProfile {
pub capabilities: ModelCapabilities,
pub ranks: ModelRanks,
pub pricing: ModelPricing,
pub max_input_tokens: u32,
pub max_output_tokens: u32,
}Expand description
Full model profile: capabilities, ranks, pricing, and context window.
Fields§
§capabilities: ModelCapabilities§ranks: ModelRanks§pricing: ModelPricing§max_input_tokens: u32§max_output_tokens: u32Trait Implementations§
Source§impl Clone for ModelProfile
impl Clone for ModelProfile
Source§fn clone(&self) -> ModelProfile
fn clone(&self) -> ModelProfile
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 ModelProfile
impl Debug for ModelProfile
Source§impl PartialEq for ModelProfile
impl PartialEq for ModelProfile
impl StructuralPartialEq for ModelProfile
Auto Trait Implementations§
impl Freeze for ModelProfile
impl RefUnwindSafe for ModelProfile
impl Send for ModelProfile
impl Sync for ModelProfile
impl Unpin for ModelProfile
impl UnwindSafe for ModelProfile
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