pub struct AgentMcpConfig {
pub name_prefix: String,
pub include_metadata: bool,
pub include_tools_used: bool,
}Expand description
Configuration for an agent MCP handler
Fields§
§name_prefix: StringName prefix for the MCP tool (e.g., “agent_”)
include_metadata: boolWhether to include metadata in response
include_tools_used: boolWhether to include tools used in response
Trait Implementations§
Source§impl Clone for AgentMcpConfig
impl Clone for AgentMcpConfig
Source§fn clone(&self) -> AgentMcpConfig
fn clone(&self) -> AgentMcpConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentMcpConfig
impl Debug for AgentMcpConfig
Auto Trait Implementations§
impl Freeze for AgentMcpConfig
impl RefUnwindSafe for AgentMcpConfig
impl Send for AgentMcpConfig
impl Sync for AgentMcpConfig
impl Unpin for AgentMcpConfig
impl UnsafeUnpin for AgentMcpConfig
impl UnwindSafe for AgentMcpConfig
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