pub struct NodeToolUseOutputs {
pub references: Option<Vec<Reference>>,
pub reference_domains: Option<Vec<String>>,
pub query: Option<String>,
pub text: Option<String>,
pub tool_args: Option<Value>,
pub data: Option<Value>,
}Expand description
outputs of a NodeToolUseFinishedPayload — only carries fields meant
for display
Fields§
§references: Option<Vec<Reference>>Sources referenced by the tool result
reference_domains: Option<Vec<String>>Domains of the referenced sources
query: Option<String>The query the tool executed
text: Option<String>Raw response text of the tool
tool_args: Option<Value>Parsed request arguments
data: Option<Value>Structured result; present only for selected tools
Trait Implementations§
Source§impl Clone for NodeToolUseOutputs
impl Clone for NodeToolUseOutputs
Source§fn clone(&self) -> NodeToolUseOutputs
fn clone(&self) -> NodeToolUseOutputs
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 NodeToolUseOutputs
impl Debug for NodeToolUseOutputs
Source§impl Default for NodeToolUseOutputs
impl Default for NodeToolUseOutputs
Source§fn default() -> NodeToolUseOutputs
fn default() -> NodeToolUseOutputs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeToolUseOutputs
impl<'de> Deserialize<'de> for NodeToolUseOutputs
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 NodeToolUseOutputs
impl RefUnwindSafe for NodeToolUseOutputs
impl Send for NodeToolUseOutputs
impl Sync for NodeToolUseOutputs
impl Unpin for NodeToolUseOutputs
impl UnsafeUnpin for NodeToolUseOutputs
impl UnwindSafe for NodeToolUseOutputs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more