#[non_exhaustive]pub struct ToolSearchTool {
pub description: Option<Option<String>>,
pub execution: Option<ToolExecution>,
pub parameters: Option<Option<Value>>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: Option<Option<String>>§execution: Option<ToolExecution>§parameters: Option<Option<Value>>§rest: RestImplementations§
Source§impl ToolSearchTool
impl ToolSearchTool
Sourcepub fn builder() -> ToolSearchToolBuilder
pub fn builder() -> ToolSearchToolBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ToolSearchTool
impl Clone for ToolSearchTool
Source§impl Debug for ToolSearchTool
impl Debug for ToolSearchTool
Source§impl DeclaredFields for ToolSearchTool
impl DeclaredFields for ToolSearchTool
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ToolSearchTool
impl<'de> Deserialize<'de> for ToolSearchTool
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
impl Eq for ToolSearchTool
Source§impl PartialEq for ToolSearchTool
impl PartialEq for ToolSearchTool
Source§impl Serialize for ToolSearchTool
impl Serialize for ToolSearchTool
impl StructuralPartialEq for ToolSearchTool
Auto Trait Implementations§
impl Freeze for ToolSearchTool
impl RefUnwindSafe for ToolSearchTool
impl Send for ToolSearchTool
impl Sync for ToolSearchTool
impl Unpin for ToolSearchTool
impl UnsafeUnpin for ToolSearchTool
impl UnwindSafe for ToolSearchTool
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