pub enum Kind {
Review(Box<Header>),
Message(MessageEvent),
Attempt(Attempt),
End(End),
Send(Send),
Answer(Answer),
ToolOutcome(MessageEvent),
Delivery(Delivery),
}Variants§
Review(Box<Header>)
Message(MessageEvent)
Attempt(Attempt)
End(End)
Send(Send)
Answer(Answer)
ToolOutcome(MessageEvent)
Display-only single outcome while other tool calls from the same turn still run.
Delivery(Delivery)
Display-only provider delivery; never part of replay history or usage calculations.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kind
impl<'de> Deserialize<'de> for Kind
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 Forget for Kind
impl Freeze for Kindwhere
*const Header is !null: Freeze,
PhantomData<Header>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<UserContent>: Freeze,
PhantomData<AssistantContent>: Freeze,
PhantomData<bool>: Freeze,
*const LeafNode<usize, BuiltinTarget> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(usize, BuiltinTarget)>>: Freeze,
*const LeafNode<String, u64> is !null: Freeze,
PhantomData<Box<(String, u64)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<AgentIssue>: Freeze,
PhantomData<ToolName>: Freeze,
impl Move for Kind
impl RefUnwindSafe for Kindwhere
String: RefUnwindSafe,
impl Send for Kindwhere
BoxRaw<Header>: Send,
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
&'static str: Send,
String: Send,
NodeRef<Owned, usize, BuiltinTarget, LeafOrInternal>: Send,
BoxRaw<(usize, BuiltinTarget)>: Send,
NodeRef<Owned, String, u64, LeafOrInternal>: Send,
BoxRaw<(String, u64)>: Send,
impl Sync for Kindwhere
BoxRaw<Header>: Sync,
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
String: Sync,
NodeRef<Owned, usize, BuiltinTarget, LeafOrInternal>: Sync,
BoxRaw<(usize, BuiltinTarget)>: Sync,
NodeRef<Owned, String, u64, LeafOrInternal>: Sync,
BoxRaw<(String, u64)>: Sync,
impl Unpin for Kindwhere
Box<Header>: Unpin,
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
&'static str: Unpin,
String: Unpin,
*const LeafNode<usize, BuiltinTarget> is !null: Unpin,
Box<(usize, BuiltinTarget)>: Unpin,
*const LeafNode<String, u64> is !null: Unpin,
Box<(String, u64)>: Unpin,
impl UnsafeUnpin for Kindwhere
*const Header is !null: UnsafeUnpin,
PhantomData<Header>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UserContent>: UnsafeUnpin,
PhantomData<AssistantContent>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
*const LeafNode<usize, BuiltinTarget> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(usize, BuiltinTarget)>>: UnsafeUnpin,
*const LeafNode<String, u64> is !null: UnsafeUnpin,
PhantomData<Box<(String, u64)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<AgentIssue>: UnsafeUnpin,
PhantomData<ToolName>: UnsafeUnpin,
impl UnwindSafe for Kindwhere
BoxRaw<Header>: UnwindSafe,
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
&'static str: UnwindSafe,
String: UnwindSafe,
BTreeMap<usize, BuiltinTarget>: UnwindSafe,
BTreeMap<String, u64>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.