pub struct ThreadSummary {
pub id: String,
pub title: String,
pub agent_id: String,
pub agent_name: String,
pub updated_at: DateTime<Utc>,
pub message_count: u32,
pub last_message: Option<String>,
pub user_id: Option<String>,
pub external_id: Option<String>,
pub tags: Option<Vec<String>>,
}Fields§
§id: String§title: String§agent_id: String§agent_name: String§updated_at: DateTime<Utc>§message_count: u32§last_message: Option<String>§user_id: Option<String>§external_id: Option<String>Tags extracted from thread attributes
Trait Implementations§
Source§impl Clone for ThreadSummary
impl Clone for ThreadSummary
Source§fn clone(&self) -> ThreadSummary
fn clone(&self) -> ThreadSummary
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 ThreadSummary
impl Debug for ThreadSummary
Source§impl<'de> Deserialize<'de> for ThreadSummary
impl<'de> Deserialize<'de> for ThreadSummary
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 ThreadSummary
impl RefUnwindSafe for ThreadSummary
impl Send for ThreadSummary
impl Sync for ThreadSummary
impl Unpin for ThreadSummary
impl UnwindSafe for ThreadSummary
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