pub struct McpClientConfig {
pub client_info: ClientInfo,
pub capabilities: ClientCapabilities,
pub protocol_version: ProtocolVersion,
pub default_timeout: Duration,
}Expand description
Configuration for MCP client behavior
Fields§
§client_info: ClientInfoClient information to send during initialization
capabilities: ClientCapabilitiesClient capabilities to advertise
protocol_version: ProtocolVersionProtocol version to use
default_timeout: DurationDefault timeout for operations
Trait Implementations§
Source§impl Clone for McpClientConfig
impl Clone for McpClientConfig
Source§fn clone(&self) -> McpClientConfig
fn clone(&self) -> McpClientConfig
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 McpClientConfig
impl Debug for McpClientConfig
Auto Trait Implementations§
impl Freeze for McpClientConfig
impl RefUnwindSafe for McpClientConfig
impl Send for McpClientConfig
impl Sync for McpClientConfig
impl Unpin for McpClientConfig
impl UnwindSafe for McpClientConfig
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