pub enum ThreadRenderNode {
Show 15 variants
UserMessage {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
text: String,
},
AssistantMarkdown {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
text: String,
phase: Option<String>,
streaming: bool,
},
FinalSeparator {
id: String,
turn_id: Option<String>,
},
ReasoningSummary {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
text: String,
},
PlanUpdate {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
explanation: Option<String>,
steps: Vec<RenderPlanStep>,
streaming: bool,
},
ProposedPlan {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
text: String,
},
ExecGroup {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
state: String,
commands: Vec<ExecCommandLine>,
output_text: Option<String>,
exit_code: Option<i64>,
},
FileChange {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
state: String,
changes: Vec<FileChangeLine>,
},
McpToolCall {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
state: String,
subtitle: String,
detail: Option<String>,
},
DynamicToolCall {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
state: String,
subtitle: String,
detail: Option<String>,
},
WebSearch {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
state: String,
detail: Option<String>,
},
CollabEvent {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
detail_lines: Vec<String>,
},
InfoNotice {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
detail: Option<String>,
},
ViewImage {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
path: String,
},
ImageGeneration {
id: String,
turn_id: Option<String>,
item_id: Option<String>,
title: String,
state: String,
prompt: Option<String>,
result: String,
saved_path: Option<String>,
},
}Variants§
UserMessage
AssistantMarkdown
Fields
FinalSeparator
ReasoningSummary
PlanUpdate
Fields
§
steps: Vec<RenderPlanStep>ProposedPlan
ExecGroup
Fields
§
commands: Vec<ExecCommandLine>FileChange
Fields
§
changes: Vec<FileChangeLine>McpToolCall
Fields
DynamicToolCall
Fields
WebSearch
Fields
CollabEvent
Fields
InfoNotice
Fields
ViewImage
ImageGeneration
Trait Implementations§
Source§impl Clone for ThreadRenderNode
impl Clone for ThreadRenderNode
Source§fn clone(&self) -> ThreadRenderNode
fn clone(&self) -> ThreadRenderNode
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 ThreadRenderNode
impl Debug for ThreadRenderNode
Source§impl Default for ThreadRenderNode
impl Default for ThreadRenderNode
Source§fn default() -> ThreadRenderNode
fn default() -> ThreadRenderNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreadRenderNode
impl<'de> Deserialize<'de> for ThreadRenderNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThreadRenderNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThreadRenderNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThreadRenderNode
impl PartialEq for ThreadRenderNode
Source§impl Serialize for ThreadRenderNode
impl Serialize for ThreadRenderNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ThreadRenderNode
Auto Trait Implementations§
impl Freeze for ThreadRenderNode
impl RefUnwindSafe for ThreadRenderNode
impl Send for ThreadRenderNode
impl Sync for ThreadRenderNode
impl Unpin for ThreadRenderNode
impl UnsafeUnpin for ThreadRenderNode
impl UnwindSafe for ThreadRenderNode
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