pub struct McpClientBootstrap {
pub server_name: String,
pub normalized_name: String,
pub tool_prefix: String,
pub signature: Option<String>,
pub transport: McpClientTransport,
}Fields§
§server_name: String§normalized_name: String§tool_prefix: String§signature: Option<String>§transport: McpClientTransportImplementations§
Source§impl McpClientBootstrap
impl McpClientBootstrap
pub fn from_scoped_config( server_name: &str, config: &ScopedMcpServerConfig, ) -> Self
Trait Implementations§
Source§impl Clone for McpClientBootstrap
impl Clone for McpClientBootstrap
Source§fn clone(&self) -> McpClientBootstrap
fn clone(&self) -> McpClientBootstrap
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 McpClientBootstrap
impl Debug for McpClientBootstrap
Source§impl PartialEq for McpClientBootstrap
impl PartialEq for McpClientBootstrap
impl Eq for McpClientBootstrap
impl StructuralPartialEq for McpClientBootstrap
Auto Trait Implementations§
impl Freeze for McpClientBootstrap
impl RefUnwindSafe for McpClientBootstrap
impl Send for McpClientBootstrap
impl Sync for McpClientBootstrap
impl Unpin for McpClientBootstrap
impl UnsafeUnpin for McpClientBootstrap
impl UnwindSafe for McpClientBootstrap
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