pub struct PreparedMcpServer {
pub name: String,
pub source_path: String,
pub output_path: String,
pub normalized_bytes: Vec<u8>,
}Expand description
An MCP server translated from another dialect’s declaration, as the mcp/<name>/mcp.toml it
is written to. The same shape as a definition’s output so a caller writes it the same way.
Fields§
§name: String§source_path: StringThe file that declared the server (.mcp.json, plugin.json).
output_path: String§normalized_bytes: Vec<u8>The rendered mcp.toml; crosses to JavaScript as a Uint8Array.
Trait Implementations§
Source§impl Clone for PreparedMcpServer
impl Clone for PreparedMcpServer
Source§impl Debug for PreparedMcpServer
impl Debug for PreparedMcpServer
Auto Trait Implementations§
impl Forget for PreparedMcpServer
impl Freeze for PreparedMcpServer
impl RefUnwindSafe for PreparedMcpServer
impl Send for PreparedMcpServer
impl Sync for PreparedMcpServer
impl Unpin for PreparedMcpServer
impl UnsafeUnpin for PreparedMcpServer
impl UnwindSafe for PreparedMcpServer
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