pub struct SessionConfig {
pub mcp_servers: BTreeMap<String, SessionMcpServerConfig>,
}Expand description
The open configuration extension object shared by session/start and
session/resume.
Unknown keys are ignored on the wire, never rejected: the live decoder
tolerates them, and no exported bundle carries additionalProperties: false. The Rust typed model’s deny_unknown_fields is internal and never
exported — the closedness export applies nowhere, and the x-msp-closed
opt-in mechanism stays inert. Recognized mcpServers values are typed and
validated before they leave the wire boundary.
Fields§
§mcp_servers: BTreeMap<String, SessionMcpServerConfig>Native MCP servers added only to this session runtime.
Trait Implementations§
Source§impl Clone for SessionConfig
impl Clone for SessionConfig
Source§impl Debug for SessionConfig
impl Debug for SessionConfig
Source§impl Default for SessionConfig
impl Default for SessionConfig
Source§impl<'de> Deserialize<'de> for SessionConfig
impl<'de> Deserialize<'de> for SessionConfig
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
impl Eq for SessionConfig
Source§impl PartialEq for SessionConfig
impl PartialEq for SessionConfig
Source§impl Serialize for SessionConfig
impl Serialize for SessionConfig
impl StructuralPartialEq for SessionConfig
Auto Trait Implementations§
impl Freeze for SessionConfig
impl RefUnwindSafe for SessionConfig
impl Send for SessionConfig
impl Sync for SessionConfig
impl Unpin for SessionConfig
impl UnsafeUnpin for SessionConfig
impl UnwindSafe for SessionConfig
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