pub struct ThreadSummary {Show 14 fields
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 channel_id: Option<String>,
pub tags: Option<Vec<String>>,
pub input_tokens: u64,
pub output_tokens: u64,
pub total_tokens: u64,
}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>§channel_id: Option<String>Channel ID if this thread originated from a messaging channel
Tags extracted from thread attributes
input_tokens: u64Input tokens used across all runs in this thread
output_tokens: u64Output tokens used across all runs in this thread
total_tokens: u64Total tokens used across all runs in this thread
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 UnsafeUnpin 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