pub struct ParsedMessage {
pub uuid: String,
pub parent_uuid: Option<String>,
pub timestamp: DateTime<Utc>,
pub role: MessageRole,
pub content: MessageContent,
pub model: Option<String>,
pub git_branch: Option<String>,
pub cwd: Option<String>,
}Expand description
Intermediate representation of a parsed message.
Contains message data extracted from a Claude Code JSONL line. Converted to the storage Message type via ParsedSession::to_storage_models.
Fields§
§uuid: String§parent_uuid: Option<String>§timestamp: DateTime<Utc>§role: MessageRole§content: MessageContent§model: Option<String>§git_branch: Option<String>§cwd: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedMessage
impl RefUnwindSafe for ParsedMessage
impl Send for ParsedMessage
impl Sync for ParsedMessage
impl Unpin for ParsedMessage
impl UnwindSafe for ParsedMessage
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