pub struct McpServerHealth {
pub label: ServerLabel,
pub transport: String,
pub target: String,
pub state: McpState,
}Expand description
One server, as the handshake found it.
Fields§
§label: ServerLabel§transport: StringHow this server is reached, in the word a person chose: stdio,
http or sse.
target: StringThe command line or the url, whichever this transport is.
state: McpStateTrait Implementations§
Source§impl Clone for McpServerHealth
impl Clone for McpServerHealth
Source§impl Debug for McpServerHealth
impl Debug for McpServerHealth
Source§impl<'de> Deserialize<'de> for McpServerHealth
impl<'de> Deserialize<'de> for McpServerHealth
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
impl Eq for McpServerHealth
Source§impl PartialEq for McpServerHealth
impl PartialEq for McpServerHealth
Source§impl Serialize for McpServerHealth
impl Serialize for McpServerHealth
impl StructuralPartialEq for McpServerHealth
Auto Trait Implementations§
impl Freeze for McpServerHealth
impl RefUnwindSafe for McpServerHealth
impl Send for McpServerHealth
impl Sync for McpServerHealth
impl Unpin for McpServerHealth
impl UnsafeUnpin for McpServerHealth
impl UnwindSafe for McpServerHealth
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