pub struct McpAppsDiagnoseServer {
pub connected: bool,
pub sample_tool_names: Vec<String>,
pub tool_count: f64,
pub tools_with_ui_meta: f64,
}Expand description
What the server returned for this session
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§connected: boolWhether the named server is currently connected
sample_tool_names: Vec<String>Up to 5 tool names with _meta.ui for quick inspection
tool_count: f64Total tools returned by the server’s tools/list
tools_with_ui_meta: f64Tools whose _meta.ui is populated (resourceUri and/or visibility set)
Trait Implementations§
Source§impl Clone for McpAppsDiagnoseServer
impl Clone for McpAppsDiagnoseServer
Source§fn clone(&self) -> McpAppsDiagnoseServer
fn clone(&self) -> McpAppsDiagnoseServer
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 McpAppsDiagnoseServer
impl Debug for McpAppsDiagnoseServer
Source§impl Default for McpAppsDiagnoseServer
impl Default for McpAppsDiagnoseServer
Source§fn default() -> McpAppsDiagnoseServer
fn default() -> McpAppsDiagnoseServer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpAppsDiagnoseServer
impl<'de> Deserialize<'de> for McpAppsDiagnoseServer
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 McpAppsDiagnoseServer
impl RefUnwindSafe for McpAppsDiagnoseServer
impl Send for McpAppsDiagnoseServer
impl Sync for McpAppsDiagnoseServer
impl Unpin for McpAppsDiagnoseServer
impl UnsafeUnpin for McpAppsDiagnoseServer
impl UnwindSafe for McpAppsDiagnoseServer
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