pub struct SessionMetadata {Show 17 fields
pub id: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub message_count: usize,
pub total_tokens: u64,
pub title: Option<String>,
pub summary: Option<String>,
pub tags: Vec<String>,
pub working_directory: Option<String>,
pub has_session_model: bool,
pub owner_id: Option<String>,
pub summary_additions: u64,
pub summary_deletions: u64,
pub summary_files: u64,
pub channel: String,
pub channel_user_id: String,
pub thread_id: Option<String>,
}Expand description
Session metadata for listing and searching.
Fields§
§id: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§message_count: usize§total_tokens: u64§title: Option<String>§summary: Option<String>§working_directory: Option<String>§has_session_model: bool§owner_id: Option<String>§summary_additions: u64§summary_deletions: u64§summary_files: u64§channel: String§channel_user_id: String§thread_id: Option<String>Trait Implementations§
Source§impl Clone for SessionMetadata
impl Clone for SessionMetadata
Source§fn clone(&self) -> SessionMetadata
fn clone(&self) -> SessionMetadata
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 SessionMetadata
impl Debug for SessionMetadata
Source§impl<'de> Deserialize<'de> for SessionMetadata
impl<'de> Deserialize<'de> for SessionMetadata
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 SessionMetadata
impl RefUnwindSafe for SessionMetadata
impl Send for SessionMetadata
impl Sync for SessionMetadata
impl Unpin for SessionMetadata
impl UnsafeUnpin for SessionMetadata
impl UnwindSafe for SessionMetadata
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