pub struct McpPlanPolicyResult {
pub decision: McpPlanPolicyDecision,
pub reason: Option<String>,
pub source: McpPlanPolicySource,
}Expand description
Outcome of evaluating the planned server against registry and enterprise policy. Evaluation is read-only.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§decision: McpPlanPolicyDecisionWhat policy decided for this server.
reason: Option<String>Human-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
source: McpPlanPolicySourceWhich authority produced the decision.
Trait Implementations§
Source§impl Clone for McpPlanPolicyResult
impl Clone for McpPlanPolicyResult
Source§fn clone(&self) -> McpPlanPolicyResult
fn clone(&self) -> McpPlanPolicyResult
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 McpPlanPolicyResult
impl Debug for McpPlanPolicyResult
Source§impl Default for McpPlanPolicyResult
impl Default for McpPlanPolicyResult
Source§fn default() -> McpPlanPolicyResult
fn default() -> McpPlanPolicyResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPlanPolicyResult
impl<'de> Deserialize<'de> for McpPlanPolicyResult
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 McpPlanPolicyResult
impl RefUnwindSafe for McpPlanPolicyResult
impl Send for McpPlanPolicyResult
impl Sync for McpPlanPolicyResult
impl Unpin for McpPlanPolicyResult
impl UnsafeUnpin for McpPlanPolicyResult
impl UnwindSafe for McpPlanPolicyResult
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