pub struct McpSettings {
pub auto_discover: bool,
pub connect_timeout_ms: u64,
}Expand description
MCP 全局设置
Fields§
§auto_discover: bool自动发现 MCP 服务器
connect_timeout_ms: u64连接超时(毫秒)
Trait Implementations§
Source§impl Clone for McpSettings
impl Clone for McpSettings
Source§fn clone(&self) -> McpSettings
fn clone(&self) -> McpSettings
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 McpSettings
impl Debug for McpSettings
Source§impl Default for McpSettings
impl Default for McpSettings
Source§impl<'de> Deserialize<'de> for McpSettings
impl<'de> Deserialize<'de> for McpSettings
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 McpSettings
impl RefUnwindSafe for McpSettings
impl Send for McpSettings
impl Sync for McpSettings
impl Unpin for McpSettings
impl UnsafeUnpin for McpSettings
impl UnwindSafe for McpSettings
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