pub struct ConversationMeta {
pub agent: String,
pub created_by: String,
pub created_at: String,
pub title: String,
pub uptime_secs: u64,
pub topic: Option<String>,
}Expand description
Conversation metadata persisted alongside the session.
Fields§
§agent: String§created_by: String§created_at: String§title: String§uptime_secs: u64§topic: Option<String>Topic this conversation belongs to, if any. None means the
conversation is a tmp chat and should not have been persisted —
only topic-bound conversations reach the Storage layer.
Trait Implementations§
Source§impl Clone for ConversationMeta
impl Clone for ConversationMeta
Source§fn clone(&self) -> ConversationMeta
fn clone(&self) -> ConversationMeta
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 ConversationMeta
impl Debug for ConversationMeta
Source§impl<'de> Deserialize<'de> for ConversationMeta
impl<'de> Deserialize<'de> for ConversationMeta
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 ConversationMeta
impl RefUnwindSafe for ConversationMeta
impl Send for ConversationMeta
impl Sync for ConversationMeta
impl Unpin for ConversationMeta
impl UnsafeUnpin for ConversationMeta
impl UnwindSafe for ConversationMeta
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