pub struct ConversationResource {
pub id: String,
pub object: String,
pub metadata: Metadata,
pub created_at: i64,
}Expand description
Represents a conversation object.
Fields§
§id: StringThe unique ID of the conversation.
object: StringThe object type, which is always conversation.
metadata: MetadataSet of 16 key-value pairs that can be attached to an object.
created_at: i64The time at which the conversation was created, measured in seconds since the Unix epoch.
Trait Implementations§
Source§impl Clone for ConversationResource
impl Clone for ConversationResource
Source§fn clone(&self) -> ConversationResource
fn clone(&self) -> ConversationResource
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 ConversationResource
impl Debug for ConversationResource
Source§impl<'de> Deserialize<'de> for ConversationResource
impl<'de> Deserialize<'de> for ConversationResource
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 ConversationResource
impl PartialEq for ConversationResource
Source§impl Serialize for ConversationResource
impl Serialize for ConversationResource
impl StructuralPartialEq for ConversationResource
Auto Trait Implementations§
impl Freeze for ConversationResource
impl RefUnwindSafe for ConversationResource
impl Send for ConversationResource
impl Sync for ConversationResource
impl Unpin for ConversationResource
impl UnwindSafe for ConversationResource
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