pub struct McpDiagnosticDetails {
pub connection_id: String,
pub data: Option<String>,
pub direction: Option<McpDiagnosticDirection>,
pub kind: McpDiagnosticKind,
pub server_name: String,
}Expand description
MCP-specific detail for a source-discriminated diagnostic entry.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§connection_id: StringFresh identifier for the MCP connection attempt, including failed starts.
data: Option<String>Serialized diagnostic detail. Protocol and HTTP records use JSON when detail is present.
direction: Option<McpDiagnosticDirection>Protocol-frame direction when kind is protocol.
kind: McpDiagnosticKindDiagnostic record category.
server_name: StringConfigured MCP server name.
Trait Implementations§
Source§impl Clone for McpDiagnosticDetails
impl Clone for McpDiagnosticDetails
Source§impl Debug for McpDiagnosticDetails
impl Debug for McpDiagnosticDetails
Source§impl Default for McpDiagnosticDetails
impl Default for McpDiagnosticDetails
Source§impl<'de> Deserialize<'de> for McpDiagnosticDetails
impl<'de> Deserialize<'de> for McpDiagnosticDetails
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 McpDiagnosticDetails
impl RefUnwindSafe for McpDiagnosticDetails
impl Send for McpDiagnosticDetails
impl Sync for McpDiagnosticDetails
impl Unpin for McpDiagnosticDetails
impl UnsafeUnpin for McpDiagnosticDetails
impl UnwindSafe for McpDiagnosticDetails
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