pub struct McpPlanTransportChoiceRemote {
pub choice_id: String,
pub endpoint: String,
pub install_method: McpPlanRemoteInstallMethod,
pub required_values: Vec<McpPlanRequiredValue>,
pub secret_placeholders: Vec<McpPlanSecretPlaceholder>,
pub transport: McpPlanRemoteTransport,
}Expand description
An eligible remote-endpoint transport choice. The endpoint is required and package identity 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.
endpoint: StringEndpoint URL. Inert untrusted data.
install_method: McpPlanRemoteInstallMethodDiscriminator: this choice connects to a remote endpoint
required_values: Vec<McpPlanRequiredValue>Typed values this choice requires, excluding secrets.
secret_placeholders: Vec<McpPlanSecretPlaceholder>Secrets this choice requires, referenced by placeholder only.
transport: McpPlanRemoteTransportEndpoint transport this remote choice would use.
Trait Implementations§
Source§impl Clone for McpPlanTransportChoiceRemote
impl Clone for McpPlanTransportChoiceRemote
Source§fn clone(&self) -> McpPlanTransportChoiceRemote
fn clone(&self) -> McpPlanTransportChoiceRemote
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 McpPlanTransportChoiceRemote
impl Debug for McpPlanTransportChoiceRemote
Source§impl Default for McpPlanTransportChoiceRemote
impl Default for McpPlanTransportChoiceRemote
Source§fn default() -> McpPlanTransportChoiceRemote
fn default() -> McpPlanTransportChoiceRemote
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPlanTransportChoiceRemote
impl<'de> Deserialize<'de> for McpPlanTransportChoiceRemote
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 McpPlanTransportChoiceRemote
impl RefUnwindSafe for McpPlanTransportChoiceRemote
impl Send for McpPlanTransportChoiceRemote
impl Sync for McpPlanTransportChoiceRemote
impl Unpin for McpPlanTransportChoiceRemote
impl UnsafeUnpin for McpPlanTransportChoiceRemote
impl UnwindSafe for McpPlanTransportChoiceRemote
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