pub struct ServerTools {
pub name: String,
pub ns: Option<String>,
pub tags: Vec<TrifectaTag>,
pub tools: Vec<Tool>,
}Expand description
A connected MCP server’s advertised tools (input to Registry::build).
Fields§
§name: String§ns: Option<String>§tools: Vec<Tool>Trait Implementations§
Source§impl Clone for ServerTools
impl Clone for ServerTools
Source§fn clone(&self) -> ServerTools
fn clone(&self) -> ServerTools
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 ServerTools
impl Debug for ServerTools
Source§impl Default for ServerTools
impl Default for ServerTools
Source§fn default() -> ServerTools
fn default() -> ServerTools
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerTools
impl RefUnwindSafe for ServerTools
impl Send for ServerTools
impl Sync for ServerTools
impl Unpin for ServerTools
impl UnsafeUnpin for ServerTools
impl UnwindSafe for ServerTools
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