pub struct McpRemoteDiscovery {
pub server_name: Option<String>,
pub version: Option<String>,
pub capabilities_url: Option<String>,
pub execute_url: Option<String>,
pub mcp_endpoint: Option<String>,
pub supported_protocol_versions: Option<Vec<String>>,
pub auth_mode: Option<String>,
pub governance: Option<String>,
}Fields§
§server_name: Option<String>§version: Option<String>§capabilities_url: Option<String>§execute_url: Option<String>§mcp_endpoint: Option<String>§supported_protocol_versions: Option<Vec<String>>§auth_mode: Option<String>§governance: Option<String>Implementations§
Source§impl McpRemoteDiscovery
impl McpRemoteDiscovery
pub fn new() -> McpRemoteDiscovery
Trait Implementations§
Source§impl Clone for McpRemoteDiscovery
impl Clone for McpRemoteDiscovery
Source§fn clone(&self) -> McpRemoteDiscovery
fn clone(&self) -> McpRemoteDiscovery
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 McpRemoteDiscovery
impl Debug for McpRemoteDiscovery
Source§impl Default for McpRemoteDiscovery
impl Default for McpRemoteDiscovery
Source§fn default() -> McpRemoteDiscovery
fn default() -> McpRemoteDiscovery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpRemoteDiscovery
impl<'de> Deserialize<'de> for McpRemoteDiscovery
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 McpRemoteDiscovery
impl PartialEq for McpRemoteDiscovery
Source§fn eq(&self, other: &McpRemoteDiscovery) -> bool
fn eq(&self, other: &McpRemoteDiscovery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpRemoteDiscovery
impl Serialize for McpRemoteDiscovery
impl StructuralPartialEq for McpRemoteDiscovery
Auto Trait Implementations§
impl Freeze for McpRemoteDiscovery
impl RefUnwindSafe for McpRemoteDiscovery
impl Send for McpRemoteDiscovery
impl Sync for McpRemoteDiscovery
impl Unpin for McpRemoteDiscovery
impl UnsafeUnpin for McpRemoteDiscovery
impl UnwindSafe for McpRemoteDiscovery
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