pub struct ModelV2Info {Show 13 fields
pub api: ModelApi,
pub capabilities: ModelCapabilities,
pub cost: Vec<ModelCost>,
pub enabled: bool,
pub family: Option<String>,
pub id: String,
pub limit: ModelV2InfoLimit,
pub name: String,
pub provider_id: String,
pub request: ModelV2InfoRequest,
pub status: String,
pub time: ModelV2InfoTime,
pub variants: Vec<ModelV2InfoVariantsItem>,
}Fields§
§api: ModelApi§capabilities: ModelCapabilities§cost: Vec<ModelCost>§enabled: bool§family: Option<String>§id: String§limit: ModelV2InfoLimit§name: String§provider_id: String§request: ModelV2InfoRequest§status: String§time: ModelV2InfoTime§variants: Vec<ModelV2InfoVariantsItem>Trait Implementations§
Source§impl Clone for ModelV2Info
impl Clone for ModelV2Info
Source§fn clone(&self) -> ModelV2Info
fn clone(&self) -> ModelV2Info
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelV2Info
impl Debug for ModelV2Info
Source§impl<'de> Deserialize<'de> for ModelV2Info
impl<'de> Deserialize<'de> for ModelV2Info
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
Source§impl PartialEq for ModelV2Info
impl PartialEq for ModelV2Info
Source§impl Serialize for ModelV2Info
impl Serialize for ModelV2Info
impl StructuralPartialEq for ModelV2Info
Auto Trait Implementations§
impl Freeze for ModelV2Info
impl RefUnwindSafe for ModelV2Info
impl Send for ModelV2Info
impl Sync for ModelV2Info
impl Unpin for ModelV2Info
impl UnsafeUnpin for ModelV2Info
impl UnwindSafe for ModelV2Info
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