pub struct ModelData {
pub id: String,
pub object: String,
pub created: String,
pub owned_by: String,
pub description: String,
pub max_context_length: i64,
pub prompt_format: String,
pub capabilities: ModelCapabilities,
}Expand description
Represents a single model response.
Fields§
§id: String§object: String§created: String§owned_by: String§description: String§max_context_length: i64§prompt_format: String§capabilities: ModelCapabilitiesTrait Implementations§
Source§impl<'de> Deserialize<'de> for ModelData
impl<'de> Deserialize<'de> for ModelData
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 ModelData
impl RefUnwindSafe for ModelData
impl Send for ModelData
impl Sync for ModelData
impl Unpin for ModelData
impl UnwindSafe for ModelData
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