pub enum ItemDeltaPayload {
AgentMessage(TextDelta),
Reasoning(TextDelta),
CommandExecution(CommandExecutionDelta),
FileChange(FileChangeDelta),
McpToolCall(McpToolCallDelta),
WebSearch(WebSearchDelta),
TodoList(TodoListDelta),
Error(EventError),
}Expand description
Delta form of an item payload. Each delta should be applied in order to reconstruct the item.
Variants§
AgentMessage(TextDelta)
Reasoning(TextDelta)
CommandExecution(CommandExecutionDelta)
FileChange(FileChangeDelta)
McpToolCall(McpToolCallDelta)
WebSearch(WebSearchDelta)
TodoList(TodoListDelta)
Error(EventError)
Trait Implementations§
Source§impl Clone for ItemDeltaPayload
impl Clone for ItemDeltaPayload
Source§fn clone(&self) -> ItemDeltaPayload
fn clone(&self) -> ItemDeltaPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ItemDeltaPayload
impl Debug for ItemDeltaPayload
Source§impl<'de> Deserialize<'de> for ItemDeltaPayload
impl<'de> Deserialize<'de> for ItemDeltaPayload
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 ItemDeltaPayload
impl RefUnwindSafe for ItemDeltaPayload
impl Send for ItemDeltaPayload
impl Sync for ItemDeltaPayload
impl Unpin for ItemDeltaPayload
impl UnsafeUnpin for ItemDeltaPayload
impl UnwindSafe for ItemDeltaPayload
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