pub struct ModelObject {
pub id: String,
pub display_name: String,
pub created_at: DateTime<Utc>,
pub object_type: String,
}
Expand description
Model object returned by the API
Fields§
§id: String
Unique model identifier
display_name: String
Human-readable name for the model
created_at: DateTime<Utc>
RFC 3339 datetime string representing when the model was released
object_type: String
Object type, always “model” for models
Implementations§
Source§impl ModelObject
impl ModelObject
Trait Implementations§
Source§impl Clone for ModelObject
impl Clone for ModelObject
Source§fn clone(&self) -> ModelObject
fn clone(&self) -> ModelObject
Returns a duplicate of the value. Read more
1.0.0 · 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 ModelObject
impl Debug for ModelObject
Source§impl<'de> Deserialize<'de> for ModelObject
impl<'de> Deserialize<'de> for ModelObject
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 ModelObject
impl PartialEq for ModelObject
Source§impl Serialize for ModelObject
impl Serialize for ModelObject
impl StructuralPartialEq for ModelObject
Auto Trait Implementations§
impl Freeze for ModelObject
impl RefUnwindSafe for ModelObject
impl Send for ModelObject
impl Sync for ModelObject
impl Unpin for ModelObject
impl UnwindSafe for ModelObject
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