pub struct McpDisconnectNotification {
pub connection_id: String,
}Expand description
Disconnects the MCP connection.
Fields§
§connection_id: StringThe id of the connection to disconnect.
Trait Implementations§
Source§impl Clone for McpDisconnectNotification
impl Clone for McpDisconnectNotification
Source§fn clone(&self) -> McpDisconnectNotification
fn clone(&self) -> McpDisconnectNotification
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 McpDisconnectNotification
impl Debug for McpDisconnectNotification
Source§impl<'de> Deserialize<'de> for McpDisconnectNotification
impl<'de> Deserialize<'de> for McpDisconnectNotification
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 Hash for McpDisconnectNotification
impl Hash for McpDisconnectNotification
Source§impl JsonRpcMessage for McpDisconnectNotification
impl JsonRpcMessage for McpDisconnectNotification
Source§fn into_untyped_message(self) -> Result<UntypedMessage, Error>
fn into_untyped_message(self) -> Result<UntypedMessage, Error>
The parameters for the request.
impl Eq for McpDisconnectNotification
impl JsonRpcNotification for McpDisconnectNotification
impl StructuralPartialEq for McpDisconnectNotification
Auto Trait Implementations§
impl Freeze for McpDisconnectNotification
impl RefUnwindSafe for McpDisconnectNotification
impl Send for McpDisconnectNotification
impl Sync for McpDisconnectNotification
impl Unpin for McpDisconnectNotification
impl UnwindSafe for McpDisconnectNotification
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