pub struct ToolSearchMatch {
pub server_name: String,
pub tool: Tool,
}Expand description
Result of a tool search
Fields§
§server_name: StringName of the server where the tool was found
tool: ToolThe tool that matched the search
Implementations§
Trait Implementations§
Source§impl Clone for ToolSearchMatch
impl Clone for ToolSearchMatch
Source§fn clone(&self) -> ToolSearchMatch
fn clone(&self) -> ToolSearchMatch
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 ToolSearchMatch
impl Debug for ToolSearchMatch
Source§impl<'de> Deserialize<'de> for ToolSearchMatch
impl<'de> Deserialize<'de> for ToolSearchMatch
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 ToolSearchMatch
impl RefUnwindSafe for ToolSearchMatch
impl Send for ToolSearchMatch
impl Sync for ToolSearchMatch
impl Unpin for ToolSearchMatch
impl UnsafeUnpin for ToolSearchMatch
impl UnwindSafe for ToolSearchMatch
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