pub struct MCPServerTestResult {
pub ok: bool,
pub status: String,
pub tool_count: Option<i64>,
pub tools: Option<Vec<Map<String, Value>>>,
pub error: Option<String>,
pub latency_ms: i64,
}Expand description
MCPServerTestResult model.
Fields§
§ok: bool§status: StringThe MCP session status on success; the literal error when the probe failed.
tool_count: Option<i64>Present only when ok is true.
tools: Option<Vec<Map<String, Value>>>Present only when ok is true.
error: Option<String>Present only when ok is false.
latency_ms: i64Trait Implementations§
Source§impl Clone for MCPServerTestResult
impl Clone for MCPServerTestResult
Source§fn clone(&self) -> MCPServerTestResult
fn clone(&self) -> MCPServerTestResult
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 MCPServerTestResult
impl Debug for MCPServerTestResult
Source§impl Default for MCPServerTestResult
impl Default for MCPServerTestResult
Source§fn default() -> MCPServerTestResult
fn default() -> MCPServerTestResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MCPServerTestResult
impl<'de> Deserialize<'de> for MCPServerTestResult
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
Source§impl PartialEq for MCPServerTestResult
impl PartialEq for MCPServerTestResult
Source§impl Serialize for MCPServerTestResult
impl Serialize for MCPServerTestResult
impl StructuralPartialEq for MCPServerTestResult
Auto Trait Implementations§
impl Freeze for MCPServerTestResult
impl RefUnwindSafe for MCPServerTestResult
impl Send for MCPServerTestResult
impl Sync for MCPServerTestResult
impl Unpin for MCPServerTestResult
impl UnsafeUnpin for MCPServerTestResult
impl UnwindSafe for MCPServerTestResult
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