pub struct ModelCatalogEntry {Show 17 fields
pub display_name: &'static str,
pub description: &'static str,
pub context_window: usize,
pub reasoning: bool,
pub reasoning_efforts: &'static [&'static str],
pub is_pro: bool,
pub lightweight_model: Option<&'static str>,
pub tool_call: bool,
pub vision: bool,
pub input_modalities: &'static [&'static str],
pub caching: bool,
pub structured_output: bool,
pub supports_sampling: bool,
pub supports_logprobs: bool,
pub prompt_cache_ttl: Option<&'static str>,
pub prompt_contract: Option<&'static str>,
pub pricing: ModelPricing,
/* private fields */
}Fields§
§display_name: &'static str§description: &'static str§context_window: usize§reasoning: bool§reasoning_efforts: &'static [&'static str]§is_pro: bool§lightweight_model: Option<&'static str>§tool_call: bool§vision: bool§input_modalities: &'static [&'static str]§caching: bool§structured_output: bool§supports_sampling: bool§supports_logprobs: bool§prompt_cache_ttl: Option<&'static str>§prompt_contract: Option<&'static str>§pricing: ModelPricingTrait Implementations§
Source§impl Clone for ModelCatalogEntry
impl Clone for ModelCatalogEntry
impl Copy for ModelCatalogEntry
Source§impl Debug for ModelCatalogEntry
impl Debug for ModelCatalogEntry
Source§impl PartialEq for ModelCatalogEntry
impl PartialEq for ModelCatalogEntry
impl StructuralPartialEq for ModelCatalogEntry
Auto Trait Implementations§
impl Freeze for ModelCatalogEntry
impl RefUnwindSafe for ModelCatalogEntry
impl Send for ModelCatalogEntry
impl Sync for ModelCatalogEntry
impl Unpin for ModelCatalogEntry
impl UnsafeUnpin for ModelCatalogEntry
impl UnwindSafe for ModelCatalogEntry
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