pub struct Model {
pub id: String,
pub name: String,
pub created: f64,
pub description: String,
pub context_length: f64,
pub architecture: Architecture,
pub top_provider: TopProvider,
pub pricing: Pricing,
pub per_request_limits: Option<HashMap<String, String>>,
}
Fields§
§id: String
§name: String
§created: f64
§description: String
§context_length: f64
§architecture: Architecture
§top_provider: TopProvider
§pricing: Pricing
§per_request_limits: Option<HashMap<String, String>>
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
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§
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