pub struct SearchFields {
pub name: bool,
pub title: bool,
pub description: bool,
pub input_schema: bool,
}Expand description
Fields to search in
Fields§
§name: boolSearch in tool name
title: boolSearch in tool title
description: boolSearch in tool description
input_schema: boolSearch in input schema (property names and descriptions)
Trait Implementations§
Source§impl Clone for SearchFields
impl Clone for SearchFields
Source§fn clone(&self) -> SearchFields
fn clone(&self) -> SearchFields
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 moreimpl Copy for SearchFields
Source§impl Debug for SearchFields
impl Debug for SearchFields
Source§impl Default for SearchFields
impl Default for SearchFields
impl Eq for SearchFields
Source§impl PartialEq for SearchFields
impl PartialEq for SearchFields
Source§fn eq(&self, other: &SearchFields) -> bool
fn eq(&self, other: &SearchFields) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SearchFields
Auto Trait Implementations§
impl Freeze for SearchFields
impl RefUnwindSafe for SearchFields
impl Send for SearchFields
impl Sync for SearchFields
impl Unpin for SearchFields
impl UnsafeUnpin for SearchFields
impl UnwindSafe for SearchFields
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