pub struct McpServerSummary {
pub id: i64,
pub name: String,
pub server_type: String,
}Expand description
Summary of an MCP server for event payloads.
This is a lightweight representation for events — not the full McpServer.
Fields§
§id: i64Database ID of the MCP server.
name: StringUser-friendly name of the server.
server_type: StringServer type (stdio or sse).
Implementations§
Trait Implementations§
Source§impl Clone for McpServerSummary
impl Clone for McpServerSummary
Source§fn clone(&self) -> McpServerSummary
fn clone(&self) -> McpServerSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 McpServerSummary
impl Debug for McpServerSummary
Source§impl<'de> Deserialize<'de> for McpServerSummary
impl<'de> Deserialize<'de> for McpServerSummary
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 McpServerSummary
impl RefUnwindSafe for McpServerSummary
impl Send for McpServerSummary
impl Sync for McpServerSummary
impl Unpin for McpServerSummary
impl UnwindSafe for McpServerSummary
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