pub struct McpToolInfo {
pub name: String,
pub original_name: String,
pub description: String,
pub is_direct: bool,
pub consent: ConsentState,
}Expand description
Stable since 0.63.0
One tool's information for the TUI dashboard (Phase 2).Fields§
§name: StringPrefixed tool name.
original_name: StringOriginal (unprefixed) tool name.
description: String§is_direct: boolWhether this tool is registered as a direct AgentTool (Phase 3).
consent: ConsentStateCurrent consent state (Phase 3).
Trait Implementations§
Source§impl Clone for McpToolInfo
impl Clone for McpToolInfo
Source§fn clone(&self) -> McpToolInfo
fn clone(&self) -> McpToolInfo
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 moreAuto Trait Implementations§
impl Freeze for McpToolInfo
impl RefUnwindSafe for McpToolInfo
impl Send for McpToolInfo
impl Sync for McpToolInfo
impl Unpin for McpToolInfo
impl UnsafeUnpin for McpToolInfo
impl UnwindSafe for McpToolInfo
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