pub struct Model {
pub id: String,
pub object: Option<String>,
pub created: Option<i64>,
pub owned_by: Option<String>,
pub served_by: Option<String>,
}
Expand description
Common model information
Fields§
§id: String
The model identifier
object: Option<String>
The object type, usually “model”
created: Option<i64>
The Unix timestamp (in seconds) of when the model was created
owned_by: Option<String>
The organization that owns the model
served_by: Option<String>
The provider that serves the model
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
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