pub struct MCPStdioParams {
pub command: String,
pub args: Vec<String>,
}Expand description
Launches a local MCP server via stdio.
Fields§
§command: StringExecutable to spawn (e.g. “uvx”).
args: Vec<String>Optional arguments passed to the command.
Trait Implementations§
Source§impl Clone for MCPStdioParams
impl Clone for MCPStdioParams
Source§fn clone(&self) -> MCPStdioParams
fn clone(&self) -> MCPStdioParams
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 MCPStdioParams
impl Debug for MCPStdioParams
Source§impl<'de> Deserialize<'de> for MCPStdioParams
impl<'de> Deserialize<'de> for MCPStdioParams
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
Auto Trait Implementations§
impl Freeze for MCPStdioParams
impl RefUnwindSafe for MCPStdioParams
impl Send for MCPStdioParams
impl Sync for MCPStdioParams
impl Unpin for MCPStdioParams
impl UnwindSafe for MCPStdioParams
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