pub struct ConversationMessage {
pub timestamp: DateTime<Utc>,
pub agent: String,
pub session_id: String,
pub role: String,
pub message: String,
pub repo_project: String,
pub source_path: Option<String>,
pub branch: Option<String>,
}Expand description
Denoised conversation message — the canonical projection of a TimelineEntry containing only user/assistant messages with repo-centric identity.
This is the primary unit for “recover the conversation” workflows. Tool calls, tool results, reasoning/thoughts, system noise, and artifact payloads are excluded. Artifact paths may appear as references only.
Fields§
§timestamp: DateTime<Utc>§agent: String§session_id: String§role: StringOnly “user” or “assistant” — reasoning and system roles are excluded.
message: StringRaw, untrimmed, untruncated message body.
repo_project: StringCanonical project/repo identity (derived from cwd + project filter).
source_path: Option<String>Secondary provenance: source working directory path.
branch: Option<String>Git branch at time of message (when available).
Trait Implementations§
Source§impl Clone for ConversationMessage
impl Clone for ConversationMessage
Source§fn clone(&self) -> ConversationMessage
fn clone(&self) -> ConversationMessage
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 ConversationMessage
impl Debug for ConversationMessage
Source§impl<'de> Deserialize<'de> for ConversationMessage
impl<'de> Deserialize<'de> for ConversationMessage
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 ConversationMessage
impl RefUnwindSafe for ConversationMessage
impl Send for ConversationMessage
impl Sync for ConversationMessage
impl Unpin for ConversationMessage
impl UnsafeUnpin for ConversationMessage
impl UnwindSafe for ConversationMessage
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