pub struct McpPlanInstallRequest {
pub contract: CatalogClientContract,
pub scope: Option<McpPlanScope>,
pub source: McpPlanInstallSource,
}Expand description
A side-effect-free request for an MCP install plan. Computing a plan never writes configuration, stores a secret, or reloads MCP servers.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§contract: CatalogClientContractProtocol version and capabilities the caller requires.
scope: Option<McpPlanScope>Configuration scope the plan targets. Defaults to user scope when omitted.
source: McpPlanInstallSourceWhat to plan: either a candidate handle from a previous search, or a card supplied directly.
Trait Implementations§
Source§impl Clone for McpPlanInstallRequest
impl Clone for McpPlanInstallRequest
Source§fn clone(&self) -> McpPlanInstallRequest
fn clone(&self) -> McpPlanInstallRequest
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 McpPlanInstallRequest
impl Debug for McpPlanInstallRequest
Source§impl<'de> Deserialize<'de> for McpPlanInstallRequest
impl<'de> Deserialize<'de> for McpPlanInstallRequest
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 McpPlanInstallRequest
impl RefUnwindSafe for McpPlanInstallRequest
impl Send for McpPlanInstallRequest
impl Sync for McpPlanInstallRequest
impl Unpin for McpPlanInstallRequest
impl UnsafeUnpin for McpPlanInstallRequest
impl UnwindSafe for McpPlanInstallRequest
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