pub struct ConversationMetadata {
pub session_id: String,
pub project_path: String,
pub file_path: PathBuf,
pub message_count: usize,
pub started_at: Option<DateTime<Utc>>,
pub last_activity: Option<DateTime<Utc>>,
pub first_user_message: Option<String>,
}Fields§
§session_id: String§project_path: String§file_path: PathBuf§message_count: usize§started_at: Option<DateTime<Utc>>§last_activity: Option<DateTime<Utc>>§first_user_message: Option<String>The first non-empty user-prompt text in the conversation. Useful as a
human-readable title — populated cheaply during the metadata pass and
surfaced by path list claude --format tsv so that picking sessions
by topic (rather than by UUID/timestamp) is practical.
Trait Implementations§
Source§impl Clone for ConversationMetadata
impl Clone for ConversationMetadata
Source§fn clone(&self) -> ConversationMetadata
fn clone(&self) -> ConversationMetadata
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 ConversationMetadata
impl Debug for ConversationMetadata
Source§impl<'de> Deserialize<'de> for ConversationMetadata
impl<'de> Deserialize<'de> for ConversationMetadata
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 ConversationMetadata
impl RefUnwindSafe for ConversationMetadata
impl Send for ConversationMetadata
impl Sync for ConversationMetadata
impl Unpin for ConversationMetadata
impl UnsafeUnpin for ConversationMetadata
impl UnwindSafe for ConversationMetadata
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