pub struct ConversationResource {
pub id: String,
pub metadata: Value,
pub created_at: i64,
}
Fields§
§id: String
The unique ID of the conversation.
metadata: Value
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
created_at: i64
The time at which the conversation was created, measured in seconds since the Unix epoch.
Implementations§
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