pub struct Model {
pub id: String,
pub created: i64,
pub object: String,
pub owned_by: String,
}Expand description
Describes an OpenAI model offering that can be used with the API.
Fields§
§id: StringThe model identifier, which can be referenced in the API endpoints.
created: i64The Unix timestamp (in seconds) when the model was created.
object: StringThe object type, which is always “model”.
owned_by: StringThe organization that owns the model.
Trait Implementations§
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