pub struct Model {Show 14 fields
pub slug: String,
pub updated_at: String,
pub created_at: String,
pub name: String,
pub short_name: String,
pub author: String,
pub description: String,
pub context_length: i64,
pub input_modalities: Vec<String>,
pub output_modalities: Vec<String>,
pub has_text_output: bool,
pub group: String,
pub permaslug: String,
pub endpoint: Option<Endpoint>,
}Fields§
§slug: String§updated_at: String§created_at: String§name: String§short_name: String§description: String§context_length: i64§input_modalities: Vec<String>§output_modalities: Vec<String>§has_text_output: bool§group: String§permaslug: String§endpoint: Option<Endpoint>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Model
impl<'de> Deserialize<'de> for Model
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
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)