pub struct ModelCatalogModel {
pub id: String,
pub name: String,
pub family: Option<String>,
pub context_window: Option<u32>,
pub output_limit: Option<u32>,
pub capabilities: ModelCapabilities,
}Expand description
Public model catalog model entry.
Fields§
§id: String§name: String§family: Option<String>§context_window: Option<u32>§output_limit: Option<u32>§capabilities: ModelCapabilitiesTrait Implementations§
Source§impl Clone for ModelCatalogModel
impl Clone for ModelCatalogModel
Source§fn clone(&self) -> ModelCatalogModel
fn clone(&self) -> ModelCatalogModel
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 ModelCatalogModel
impl Debug for ModelCatalogModel
Source§impl<'de> Deserialize<'de> for ModelCatalogModel
impl<'de> Deserialize<'de> for ModelCatalogModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModelCatalogModel
impl PartialEq for ModelCatalogModel
Source§fn eq(&self, other: &ModelCatalogModel) -> bool
fn eq(&self, other: &ModelCatalogModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelCatalogModel
impl Serialize for ModelCatalogModel
impl StructuralPartialEq for ModelCatalogModel
Auto Trait Implementations§
impl Freeze for ModelCatalogModel
impl RefUnwindSafe for ModelCatalogModel
impl Send for ModelCatalogModel
impl Sync for ModelCatalogModel
impl Unpin for ModelCatalogModel
impl UnsafeUnpin for ModelCatalogModel
impl UnwindSafe for ModelCatalogModel
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