pub struct McpPlanInstallOptions { /* private fields */ }Expand description
Extensible McpPlanInstallRequest, including inputs added after it was published.
Required inputs are McpPlanInstallOptions::new arguments; optional inputs have fluent setters.
Input-only: it serialises to the flat wire request and is not deserialisable.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Implementations§
Source§impl McpPlanInstallOptions
impl McpPlanInstallOptions
Sourcepub fn new(
contract: CatalogClientContract,
source: McpPlanInstallSource,
) -> Self
pub fn new( contract: CatalogClientContract, source: McpPlanInstallSource, ) -> Self
Creates options with the required inputs.
Sourcepub fn scope(self, value: McpPlanScope) -> Self
pub fn scope(self, value: McpPlanScope) -> Self
Configuration scope the plan targets. Defaults to user scope when omitted.
Sourcepub fn policy_session_id(self, value: impl Into<String>) -> Self
pub fn policy_session_id(self, value: impl Into<String>) -> Self
The same existing attached session that owns the original catalogue candidate.
Trait Implementations§
Source§impl Clone for McpPlanInstallOptions
impl Clone for McpPlanInstallOptions
Source§impl Debug for McpPlanInstallOptions
impl Debug for McpPlanInstallOptions
Auto Trait Implementations§
impl Freeze for McpPlanInstallOptions
impl RefUnwindSafe for McpPlanInstallOptions
impl Send for McpPlanInstallOptions
impl Sync for McpPlanInstallOptions
impl Unpin for McpPlanInstallOptions
impl UnsafeUnpin for McpPlanInstallOptions
impl UnwindSafe for McpPlanInstallOptions
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