pub struct Conversation {Show 13 fields
pub id: String,
pub user_id: String,
pub title: String,
pub context: Option<Option<String>>,
pub cwd: Option<Option<String>>,
pub session_id: Option<Option<String>>,
pub pinned: Option<bool>,
pub last_message_at: Option<Option<DateTime<FixedOffset>>>,
pub message_count: Option<i32>,
pub is_active: Option<bool>,
pub metadata: Option<HashMap<String, Value>>,
pub created_at: Option<DateTime<FixedOffset>>,
pub updated_at: Option<DateTime<FixedOffset>>,
}Expand description
Conversation : LLM conversation persisted by the platform-service. Stored in snake_case at the wire (legacy DTO; predates the camelCase rest of the API). Treat field names as authoritative.
Fields§
§id: String§user_id: String§title: String§context: Option<Option<String>>Free-form context tag (e.g. sidebar:sheets:entity:<id>).
cwd: Option<Option<String>>§session_id: Option<Option<String>>§pinned: Option<bool>§last_message_at: Option<Option<DateTime<FixedOffset>>>§message_count: Option<i32>§is_active: Option<bool>§metadata: Option<HashMap<String, Value>>§created_at: Option<DateTime<FixedOffset>>§updated_at: Option<DateTime<FixedOffset>>Implementations§
Source§impl Conversation
impl Conversation
Trait Implementations§
Source§impl Clone for Conversation
impl Clone for Conversation
Source§fn clone(&self) -> Conversation
fn clone(&self) -> Conversation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Conversation
impl Debug for Conversation
Source§impl Default for Conversation
impl Default for Conversation
Source§fn default() -> Conversation
fn default() -> Conversation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Conversation
impl<'de> Deserialize<'de> for Conversation
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 Conversation
impl PartialEq for Conversation
Source§fn eq(&self, other: &Conversation) -> bool
fn eq(&self, other: &Conversation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Conversation
impl Serialize for Conversation
impl StructuralPartialEq for Conversation
Auto Trait Implementations§
impl Freeze for Conversation
impl RefUnwindSafe for Conversation
impl Send for Conversation
impl Sync for Conversation
impl Unpin for Conversation
impl UnsafeUnpin for Conversation
impl UnwindSafe for Conversation
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