pub struct Model {Show 13 fields
pub api: ModelApi2,
pub capabilities: ModelCapabilities2,
pub cost: ModelCost2,
pub family: Option<String>,
pub headers: BTreeMap<String, String>,
pub id: String,
pub limit: ProviderConfigModelsValueLimit,
pub name: String,
pub options: Map<String, Value>,
pub provider_id: String,
pub release_date: String,
pub status: String,
pub variants: Option<BTreeMap<String, Map<String, Value>>>,
}Fields§
§api: ModelApi2§capabilities: ModelCapabilities2§cost: ModelCost2§family: Option<String>§headers: BTreeMap<String, String>§id: String§limit: ProviderConfigModelsValueLimit§name: String§options: Map<String, Value>§provider_id: String§release_date: String§status: String§variants: Option<BTreeMap<String, Map<String, Value>>>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
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin 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