pub struct ModelCatalogEntry {Show 15 fields
pub id: &'static str,
pub display_name: &'static str,
pub description: &'static str,
pub provider: &'static str,
pub default_reasoning: &'static str,
pub supported_reasoning: &'static [ReasoningOption],
pub context_window: u32,
pub max_context_window: u32,
pub auto_compact_token_limit: u32,
pub supports_compaction: bool,
pub supports_images: bool,
pub supports_tools: bool,
pub supports_structured: bool,
pub edit_tool: Option<&'static str>,
pub hidden: bool,
}Fields§
§id: &'static str§display_name: &'static str§description: &'static str§provider: &'static str§default_reasoning: &'static str§supported_reasoning: &'static [ReasoningOption]§context_window: u32§max_context_window: u32§auto_compact_token_limit: u32§supports_compaction: bool§supports_images: bool§supports_tools: bool§supports_structured: bool§edit_tool: Option<&'static str>Trait Implementations§
Source§impl Clone for ModelCatalogEntry
impl Clone for ModelCatalogEntry
Source§fn clone(&self) -> ModelCatalogEntry
fn clone(&self) -> ModelCatalogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelCatalogEntry
impl Debug for ModelCatalogEntry
impl Eq for ModelCatalogEntry
Source§impl From<&ModelCatalogEntry> for ModelDescriptor
impl From<&ModelCatalogEntry> for ModelDescriptor
Source§fn from(model: &ModelCatalogEntry) -> Self
fn from(model: &ModelCatalogEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModelCatalogEntry
impl PartialEq for ModelCatalogEntry
Source§fn eq(&self, other: &ModelCatalogEntry) -> bool
fn eq(&self, other: &ModelCatalogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelCatalogEntry
impl Serialize 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.