pub struct ModelList {
pub object: String,
pub data: Vec<ModelSummary>,
}Expand description
The envelope returned by GET /v1/models.
Fields§
§object: StringObject type; always "list".
data: Vec<ModelSummary>The models.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelList
impl<'de> Deserialize<'de> for ModelList
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 ModelList
Auto Trait Implementations§
impl Freeze for ModelList
impl RefUnwindSafe for ModelList
impl Send for ModelList
impl Sync for ModelList
impl Unpin for ModelList
impl UnsafeUnpin for ModelList
impl UnwindSafe for ModelList
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