pub struct ToolInputExample {
pub input: JsonObject,
}Expand description
One input example for FunctionTool::input_examples.
Fields§
§input: JsonObjectExample input matching the schema.
Trait Implementations§
Source§impl Clone for ToolInputExample
impl Clone for ToolInputExample
Source§fn clone(&self) -> ToolInputExample
fn clone(&self) -> ToolInputExample
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 ToolInputExample
impl Debug for ToolInputExample
Source§impl<'de> Deserialize<'de> for ToolInputExample
impl<'de> Deserialize<'de> for ToolInputExample
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
Source§impl PartialEq for ToolInputExample
impl PartialEq for ToolInputExample
Source§fn eq(&self, other: &ToolInputExample) -> bool
fn eq(&self, other: &ToolInputExample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolInputExample
impl Serialize for ToolInputExample
impl StructuralPartialEq for ToolInputExample
Auto Trait Implementations§
impl Freeze for ToolInputExample
impl RefUnwindSafe for ToolInputExample
impl Send for ToolInputExample
impl Sync for ToolInputExample
impl Unpin for ToolInputExample
impl UnsafeUnpin for ToolInputExample
impl UnwindSafe for ToolInputExample
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