pub enum NodeOutput {
Reasoning {
id: String,
content: String,
},
Message {
id: String,
content: String,
},
ToolCalls {
calls: Vec<ToolCallInfo>,
},
}Expand description
Output from a node execution
Represents structured outputs that can be traced separately
Variants§
Reasoning
Reasoning output from models like GPT-5, o1
Message
Regular message output
ToolCalls
Tool calls output
Fields
§
calls: Vec<ToolCallInfo>Tool call information
Trait Implementations§
Source§impl Clone for NodeOutput
impl Clone for NodeOutput
Source§fn clone(&self) -> NodeOutput
fn clone(&self) -> NodeOutput
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 NodeOutput
impl Debug for NodeOutput
Source§impl<'de> Deserialize<'de> for NodeOutput
impl<'de> Deserialize<'de> for NodeOutput
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 NodeOutput
impl RefUnwindSafe for NodeOutput
impl Send for NodeOutput
impl Sync for NodeOutput
impl Unpin for NodeOutput
impl UnsafeUnpin for NodeOutput
impl UnwindSafe for NodeOutput
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