pub struct McpPlanTransportChoicePackage {
pub choice_id: String,
pub install_method: McpPlanPackageInstallMethod,
pub package_identifier: String,
pub package_type: String,
pub required_values: Vec<McpPlanRequiredValue>,
pub secret_placeholders: Vec<McpPlanSecretPlaceholder>,
pub transport: McpPlanPackageTransport,
}Expand description
An eligible local-package transport choice. Package identity is required and a remote endpoint cannot be represented.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§choice_id: StringStable identifier for this choice within the plan, used to select it when the plan is applied.
install_method: McpPlanPackageInstallMethodDiscriminator: this choice runs a local package
package_identifier: StringPackage identifier. Inert untrusted data.
package_type: StringPackaging ecosystem, for example oci or npm.
required_values: Vec<McpPlanRequiredValue>Typed values this choice requires, excluding secrets.
secret_placeholders: Vec<McpPlanSecretPlaceholder>Secrets this choice requires, referenced by placeholder only.
transport: McpPlanPackageTransportLocal process transport this package choice would use.
Trait Implementations§
Source§impl Clone for McpPlanTransportChoicePackage
impl Clone for McpPlanTransportChoicePackage
Source§fn clone(&self) -> McpPlanTransportChoicePackage
fn clone(&self) -> McpPlanTransportChoicePackage
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 Default for McpPlanTransportChoicePackage
impl Default for McpPlanTransportChoicePackage
Source§fn default() -> McpPlanTransportChoicePackage
fn default() -> McpPlanTransportChoicePackage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPlanTransportChoicePackage
impl<'de> Deserialize<'de> for McpPlanTransportChoicePackage
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 McpPlanTransportChoicePackage
impl RefUnwindSafe for McpPlanTransportChoicePackage
impl Send for McpPlanTransportChoicePackage
impl Sync for McpPlanTransportChoicePackage
impl Unpin for McpPlanTransportChoicePackage
impl UnsafeUnpin for McpPlanTransportChoicePackage
impl UnwindSafe for McpPlanTransportChoicePackage
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