pub struct SessionMcpReloadWithConfigResult {
pub allowed_servers: Option<Vec<McpAllowedServer>>,
pub failed_servers: Option<Vec<McpFailedServer>>,
pub filtered_servers: Vec<McpFilteredServer>,
}Expand description
MCP server startup filtering result.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§allowed_servers: Option<Vec<McpAllowedServer>>Non-default servers allowed by policy
failed_servers: Option<Vec<McpFailedServer>>Servers whose connection attempt failed.
filtered_servers: Vec<McpFilteredServer>Servers filtered out before startup
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionMcpReloadWithConfigResult
impl<'de> Deserialize<'de> for SessionMcpReloadWithConfigResult
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 SessionMcpReloadWithConfigResult
impl RefUnwindSafe for SessionMcpReloadWithConfigResult
impl Send for SessionMcpReloadWithConfigResult
impl Sync for SessionMcpReloadWithConfigResult
impl Unpin for SessionMcpReloadWithConfigResult
impl UnsafeUnpin for SessionMcpReloadWithConfigResult
impl UnwindSafe for SessionMcpReloadWithConfigResult
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