pub struct Session {
pub id: String,
pub project_id: String,
pub project_path: String,
pub todo_data: Option<Value>,
pub created_at: u64,
pub first_message: Option<String>,
pub message_timestamp: Option<String>,
}Expand description
Represents a Claude Code conversation session
Fields§
§id: StringUnique session identifier
project_id: StringID of the parent project
project_path: StringFile system path to the project
todo_data: Option<Value>Optional TODO data for the session
created_at: u64Unix timestamp of session creation
first_message: Option<String>First message content (for preview)
message_timestamp: Option<String>ISO timestamp of first message
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Session
impl<'de> Deserialize<'de> for Session
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 Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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