pub struct McpPlanSecretPlaceholder {
pub key: String,
pub placeholder: String,
pub title: Option<String>,
}Expand description
A secret a transport choice needs, referenced by placeholder. No secret value ever appears in a plan, and the placeholder resolves against the keychain only when a plan is applied.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§key: StringKey the secret is supplied under. Inert untrusted data.
placeholder: StringThe runtime-assigned ${secret:<id>} placeholder written into configuration in place of the value.
title: Option<String>Human-readable label from the card. Inert untrusted text.
Trait Implementations§
Source§impl Clone for McpPlanSecretPlaceholder
impl Clone for McpPlanSecretPlaceholder
Source§fn clone(&self) -> McpPlanSecretPlaceholder
fn clone(&self) -> McpPlanSecretPlaceholder
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 McpPlanSecretPlaceholder
impl Debug for McpPlanSecretPlaceholder
Source§impl Default for McpPlanSecretPlaceholder
impl Default for McpPlanSecretPlaceholder
Source§fn default() -> McpPlanSecretPlaceholder
fn default() -> McpPlanSecretPlaceholder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPlanSecretPlaceholder
impl<'de> Deserialize<'de> for McpPlanSecretPlaceholder
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 McpPlanSecretPlaceholder
impl RefUnwindSafe for McpPlanSecretPlaceholder
impl Send for McpPlanSecretPlaceholder
impl Sync for McpPlanSecretPlaceholder
impl Unpin for McpPlanSecretPlaceholder
impl UnsafeUnpin for McpPlanSecretPlaceholder
impl UnwindSafe for McpPlanSecretPlaceholder
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