pub struct Model {Show 14 fields
pub id: String,
pub canonical_slug: String,
pub hugging_face_id: Option<String>,
pub name: String,
pub created: f64,
pub description: String,
pub pricing: PublicPricing,
pub context_length: Option<f64>,
pub architecture: ModelArchitecture,
pub top_provider: TopProviderInfo,
pub per_request_limits: PerRequestLimits,
pub supported_parameters: Vec<String>,
pub default_parameters: DefaultParameters,
pub expiration_date: Option<String>,
}Fields§
§id: String§canonical_slug: String§hugging_face_id: Option<String>§name: String§created: f64§description: String§pricing: PublicPricing§context_length: Option<f64>§architecture: ModelArchitecture§top_provider: TopProviderInfo§per_request_limits: PerRequestLimits§supported_parameters: Vec<String>§default_parameters: DefaultParameters§expiration_date: Option<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