pub struct McpPlanRequiredValueEnum {
pub category: McpPlanValueCategory,
pub default_value: Option<String>,
pub description: Option<String>,
pub enum_values: Vec<String>,
pub is_repeated: bool,
pub key: String,
pub kind: McpPlanRequiredValueEnumKind,
pub required: bool,
pub title: Option<String>,
pub value_type: McpPlanEnumValueType,
}Expand description
One enumerated non-secret value a transport choice needs before it can be applied. The permitted values are structurally required.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§category: McpPlanValueCategoryWhere the value is applied when the server is launched.
default_value: Option<String>Default supplied by the card, when the value can be resolved without input. Presence is the authoritative indication that a default exists. Inert untrusted data.
description: Option<String>Human-readable explanation from the card. Inert untrusted text.
enum_values: Vec<String>Non-empty permitted value set. Inert untrusted data.
is_repeated: boolWhether the value may be supplied more than once.
key: StringKey the value is supplied under. Inert untrusted data.
kind: McpPlanRequiredValueEnumKindDiscriminator: this required value uses a fixed enumeration.
required: boolWhether the value must be present for the plan to be applicable.
title: Option<String>Human-readable label from the card. Inert untrusted text.
value_type: McpPlanEnumValueTypeDiscriminator: the value must be one of enumValues.
Trait Implementations§
Source§impl Clone for McpPlanRequiredValueEnum
impl Clone for McpPlanRequiredValueEnum
Source§fn clone(&self) -> McpPlanRequiredValueEnum
fn clone(&self) -> McpPlanRequiredValueEnum
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more