pub struct ModelListData {
pub id: String,
pub object: String,
pub created: u32,
pub owned_by: String,
pub root: Option<String>,
pub archived: bool,
pub name: String,
pub description: String,
pub capabilities: ModelListDataCapabilies,
pub max_context_length: u32,
pub aliases: Vec<String>,
pub deprecation: Option<String>,
}Expand description
See: https://docs.mistral.ai/api/#tag/models
Fields§
§id: String§object: String§created: u32Unix timestamp (in seconds).
owned_by: String§root: Option<String>§archived: bool§name: String§description: String§capabilities: ModelListDataCapabilies§max_context_length: u32§aliases: Vec<String>§deprecation: Option<String>ISO 8601 date (YYYY-MM-DDTHH:MM:SSZ).
Trait Implementations§
Source§impl Clone for ModelListData
impl Clone for ModelListData
Source§fn clone(&self) -> ModelListData
fn clone(&self) -> ModelListData
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 ModelListData
impl Debug for ModelListData
Source§impl<'de> Deserialize<'de> for ModelListData
impl<'de> Deserialize<'de> for ModelListData
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
Auto Trait Implementations§
impl Freeze for ModelListData
impl RefUnwindSafe for ModelListData
impl Send for ModelListData
impl Sync for ModelListData
impl Unpin for ModelListData
impl UnwindSafe for ModelListData
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