pub struct ToolEndpoint {
pub name: String,
pub route: String,
pub description: Option<String>,
}
Expand description
Configuration for a tool endpoint in the gateway
Fields§
§name: String
Name of the tool
route: String
HTTP route to the tool’s MCP endpoint
description: Option<String>
Optional description override
Trait Implementations§
Source§impl Clone for ToolEndpoint
impl Clone for ToolEndpoint
Source§fn clone(&self) -> ToolEndpoint
fn clone(&self) -> ToolEndpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ToolEndpoint
impl Debug for ToolEndpoint
Source§impl<'de> Deserialize<'de> for ToolEndpoint
impl<'de> Deserialize<'de> for ToolEndpoint
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 ToolEndpoint
impl RefUnwindSafe for ToolEndpoint
impl Send for ToolEndpoint
impl Sync for ToolEndpoint
impl Unpin for ToolEndpoint
impl UnwindSafe for ToolEndpoint
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