struct McpSessionCapabilities {
runtime: RuntimeInfoReport,
selected_project: McpSelectedProjectCapability,
startup_policy: McpStartupPolicy,
path_scope: McpPathScope,
scan_policy: McpScanPolicy,
telemetry: McpTelemetryPolicy,
privacy: McpPrivacyPolicy,
}Expand description
MCP-session capability/settings payload.
Fields§
§runtime: RuntimeInfoReportRuntime identity and compiled tool surface.
selected_project: McpSelectedProjectCapabilitySelected project identity and index status.
startup_policy: McpStartupPolicyRoute-affecting startup policy.
path_scope: McpPathScopeAbsolute-path routing scope.
scan_policy: McpScanPolicyScan behavior visible to harnesses.
telemetry: McpTelemetryPolicyToken telemetry write mode for this process.
privacy: McpPrivacyPolicyPrivacy guarantees for this payload.
Trait Implementations§
Source§impl Debug for McpSessionCapabilities
impl Debug for McpSessionCapabilities
Auto Trait Implementations§
impl Freeze for McpSessionCapabilities
impl RefUnwindSafe for McpSessionCapabilities
impl Send for McpSessionCapabilities
impl Sync for McpSessionCapabilities
impl Unpin for McpSessionCapabilities
impl UnwindSafe for McpSessionCapabilities
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more