pub struct McpRemoteConfig {
pub url: String,
pub enabled: Option<bool>,
pub headers: Option<HashMap<String, String>>,
}Expand description
Remote MCP server configuration.
Fields§
§url: StringThe URL of the remote MCP server.
enabled: Option<bool>Whether this MCP server is enabled.
headers: Option<HashMap<String, String>>Optional HTTP headers to send with requests.
Trait Implementations§
Source§impl Clone for McpRemoteConfig
impl Clone for McpRemoteConfig
Source§fn clone(&self) -> McpRemoteConfig
fn clone(&self) -> McpRemoteConfig
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 McpRemoteConfig
impl Debug for McpRemoteConfig
Source§impl<'de> Deserialize<'de> for McpRemoteConfig
impl<'de> Deserialize<'de> for McpRemoteConfig
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
Source§impl PartialEq for McpRemoteConfig
impl PartialEq for McpRemoteConfig
Source§impl Serialize for McpRemoteConfig
impl Serialize for McpRemoteConfig
impl Eq for McpRemoteConfig
impl StructuralPartialEq for McpRemoteConfig
Auto Trait Implementations§
impl Freeze for McpRemoteConfig
impl RefUnwindSafe for McpRemoteConfig
impl Send for McpRemoteConfig
impl Sync for McpRemoteConfig
impl Unpin for McpRemoteConfig
impl UnwindSafe for McpRemoteConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.