pub struct McpStartServersResult {
pub allowed_servers: Option<Vec<McpAllowedServer>>,
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
filtered_servers: Vec<McpFilteredServer>Servers filtered out before startup
Trait Implementations§
Source§impl Clone for McpStartServersResult
impl Clone for McpStartServersResult
Source§fn clone(&self) -> McpStartServersResult
fn clone(&self) -> McpStartServersResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 McpStartServersResult
impl Debug for McpStartServersResult
Source§impl Default for McpStartServersResult
impl Default for McpStartServersResult
Source§fn default() -> McpStartServersResult
fn default() -> McpStartServersResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpStartServersResult
impl<'de> Deserialize<'de> for McpStartServersResult
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 McpStartServersResult
impl RefUnwindSafe for McpStartServersResult
impl Send for McpStartServersResult
impl Sync for McpStartServersResult
impl Unpin for McpStartServersResult
impl UnsafeUnpin for McpStartServersResult
impl UnwindSafe for McpStartServersResult
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