pub enum IngestEvent {
SessionStart {
source: String,
started_at: DateTime<Utc>,
},
UserPrompt {
text: String,
timestamp: DateTime<Utc>,
},
ToolCall {
name: String,
args: Value,
result_summary: String,
timestamp: DateTime<Utc>,
rationale: Option<String>,
},
SystemInstruction {
text: String,
},
}Expand description
Events emitted by an adapter during session parsing.
Variants§
SessionStart
Signals the start of a session; provides the source label for the Intent.
UserPrompt
A substantive user message — each one opens a new turn (Intent + Plan).
ToolCall
Any tool invocation observed in the session.
Fields
SystemInstruction
System-level instruction (e.g., CLAUDE.md content, session preamble).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IngestEvent
impl RefUnwindSafe for IngestEvent
impl Send for IngestEvent
impl Sync for IngestEvent
impl Unpin for IngestEvent
impl UnsafeUnpin for IngestEvent
impl UnwindSafe for IngestEvent
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