pub struct PluginMcpServerDetail {Show 16 fields
pub name: String,
pub transport: PluginMcpTransport,
pub command: Option<String>,
pub argv: Vec<String>,
pub cwd: Option<PathBuf>,
pub env: Vec<(String, String)>,
pub url: Option<String>,
pub env_headers: Vec<(String, String)>,
pub bearer_token_env_var: Option<String>,
pub connect_timeout_secs: Option<u64>,
pub execute_timeout_secs: Option<u64>,
pub read_timeout_secs: Option<u64>,
pub required: bool,
pub enabled_tools: Vec<String>,
pub disabled_tools: Vec<String>,
pub enabled: bool,
}Expand description
Portable MCP server detail for the capability review body (FEAT-020 D2).
Carries only the semantic fields render_mcp_inventory consumes:
transport, command/url, argv, cwd, env provenance, timeouts, required,
enabled/disabled tool lists, and the enabled flag. Host McpServerConfig
never crosses the boundary.
Fields§
§name: String§transport: PluginMcpTransport§command: Option<String>§argv: Vec<String>§cwd: Option<PathBuf>§env: Vec<(String, String)>§url: Option<String>§env_headers: Vec<(String, String)>§bearer_token_env_var: Option<String>§connect_timeout_secs: Option<u64>§execute_timeout_secs: Option<u64>§read_timeout_secs: Option<u64>§required: bool§enabled_tools: Vec<String>§disabled_tools: Vec<String>§enabled: boolTrait Implementations§
Source§impl Clone for PluginMcpServerDetail
impl Clone for PluginMcpServerDetail
Source§fn clone(&self) -> PluginMcpServerDetail
fn clone(&self) -> PluginMcpServerDetail
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 PluginMcpServerDetail
impl Debug for PluginMcpServerDetail
impl Eq for PluginMcpServerDetail
Source§impl PartialEq for PluginMcpServerDetail
impl PartialEq for PluginMcpServerDetail
impl StructuralPartialEq for PluginMcpServerDetail
Auto Trait Implementations§
impl Freeze for PluginMcpServerDetail
impl RefUnwindSafe for PluginMcpServerDetail
impl Send for PluginMcpServerDetail
impl Sync for PluginMcpServerDetail
impl Unpin for PluginMcpServerDetail
impl UnsafeUnpin for PluginMcpServerDetail
impl UnwindSafe for PluginMcpServerDetail
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.