pub struct McpServerConfig {
pub port: u16,
pub server_name: String,
pub server_version: String,
pub exposed_tools: Vec<String>,
pub exposed_resources: Vec<String>,
}Expand description
Configuration for the MCP server.
Fields§
§port: u16§server_name: String§server_version: String§exposed_tools: Vec<String>§exposed_resources: Vec<String>Auto Trait Implementations§
impl Freeze for McpServerConfig
impl RefUnwindSafe for McpServerConfig
impl Send for McpServerConfig
impl Sync for McpServerConfig
impl Unpin for McpServerConfig
impl UnsafeUnpin for McpServerConfig
impl UnwindSafe for McpServerConfig
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