pub struct ModelResponse {Show 14 fields
pub id: Option<String>,
pub name: Option<String>,
pub created: Option<i64>,
pub description: Option<String>,
pub architecture: Option<Architecture>,
pub top_provider: Option<TopProvider>,
pub pricing: Option<Pricing>,
pub canonical_slug: Option<String>,
pub context_length: Option<i64>,
pub hugging_face_id: Option<String>,
pub per_request_limits: Option<Value>,
pub supported_parameters: Option<Vec<String>>,
pub object: Option<String>,
pub owned_by: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
§created: Option<i64>
§description: Option<String>
§architecture: Option<Architecture>
§top_provider: Option<TopProvider>
§pricing: Option<Pricing>
§canonical_slug: Option<String>
§context_length: Option<i64>
§hugging_face_id: Option<String>
§per_request_limits: Option<Value>
§supported_parameters: Option<Vec<String>>
§object: Option<String>
§owned_by: Option<String>
Trait Implementations§
Source§impl Debug for ModelResponse
impl Debug for ModelResponse
Source§impl<'de> Deserialize<'de> for ModelResponse
impl<'de> Deserialize<'de> for ModelResponse
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 ModelResponse
impl RefUnwindSafe for ModelResponse
impl Send for ModelResponse
impl Sync for ModelResponse
impl Unpin for ModelResponse
impl UnwindSafe for ModelResponse
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