pub enum ItemPayload {
AgentMessage(TextContent),
Reasoning(TextContent),
CommandExecution(CommandExecutionState),
FileChange(FileChangeState),
McpToolCall(McpToolCallState),
WebSearch(WebSearchState),
TodoList(TodoListState),
Error(EventError),
}Expand description
Fully-typed item payload for start/completed events.
Variants§
AgentMessage(TextContent)
Reasoning(TextContent)
CommandExecution(CommandExecutionState)
FileChange(FileChangeState)
McpToolCall(McpToolCallState)
WebSearch(WebSearchState)
TodoList(TodoListState)
Error(EventError)
Trait Implementations§
Source§impl Clone for ItemPayload
impl Clone for ItemPayload
Source§fn clone(&self) -> ItemPayload
fn clone(&self) -> ItemPayload
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 ItemPayload
impl Debug for ItemPayload
Source§impl<'de> Deserialize<'de> for ItemPayload
impl<'de> Deserialize<'de> for ItemPayload
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 ItemPayload
impl RefUnwindSafe for ItemPayload
impl Send for ItemPayload
impl Sync for ItemPayload
impl Unpin for ItemPayload
impl UnsafeUnpin for ItemPayload
impl UnwindSafe for ItemPayload
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