pub struct SessionLog {
pub session_id: String,
pub project_slug: String,
pub entries: Vec<HistoryEntry>,
}Expand description
Full parsed session.
Fields§
§session_id: StringThe session id (the .jsonl file stem).
project_slug: StringSlug of the project the session belongs to.
entries: Vec<HistoryEntry>Every parsed entry, in file order.
Trait Implementations§
Source§impl Clone for SessionLog
impl Clone for SessionLog
Source§impl Debug for SessionLog
impl Debug for SessionLog
Auto Trait Implementations§
impl Freeze for SessionLog
impl RefUnwindSafe for SessionLog
impl Send for SessionLog
impl Sync for SessionLog
impl Unpin for SessionLog
impl UnsafeUnpin for SessionLog
impl UnwindSafe for SessionLog
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