pub struct ScopedMcpServerConfig {
pub scope: ConfigSource,
pub config: McpServerConfig,
}Fields§
§scope: ConfigSource§config: McpServerConfigImplementations§
Source§impl ScopedMcpServerConfig
impl ScopedMcpServerConfig
pub fn transport(&self) -> McpTransport
Trait Implementations§
Source§impl Clone for ScopedMcpServerConfig
impl Clone for ScopedMcpServerConfig
Source§fn clone(&self) -> ScopedMcpServerConfig
fn clone(&self) -> ScopedMcpServerConfig
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 ScopedMcpServerConfig
impl Debug for ScopedMcpServerConfig
Source§impl PartialEq for ScopedMcpServerConfig
impl PartialEq for ScopedMcpServerConfig
impl Eq for ScopedMcpServerConfig
impl StructuralPartialEq for ScopedMcpServerConfig
Auto Trait Implementations§
impl Freeze for ScopedMcpServerConfig
impl RefUnwindSafe for ScopedMcpServerConfig
impl Send for ScopedMcpServerConfig
impl Sync for ScopedMcpServerConfig
impl Unpin for ScopedMcpServerConfig
impl UnsafeUnpin for ScopedMcpServerConfig
impl UnwindSafe for ScopedMcpServerConfig
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