pub struct McpServerEventNotification {
pub method: String,
pub params: Value,
}Expand description
One MCP-server-originated notification, relayed verbatim.
Fields§
§method: String§params: ValueTrait Implementations§
Source§impl Clone for McpServerEventNotification
impl Clone for McpServerEventNotification
Source§fn clone(&self) -> McpServerEventNotification
fn clone(&self) -> McpServerEventNotification
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 McpServerEventNotification
impl Debug for McpServerEventNotification
Source§impl<'de> Deserialize<'de> for McpServerEventNotification
impl<'de> Deserialize<'de> for McpServerEventNotification
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 StructuralPartialEq for McpServerEventNotification
Auto Trait Implementations§
impl Freeze for McpServerEventNotification
impl RefUnwindSafe for McpServerEventNotification
impl Send for McpServerEventNotification
impl Sync for McpServerEventNotification
impl Unpin for McpServerEventNotification
impl UnsafeUnpin for McpServerEventNotification
impl UnwindSafe for McpServerEventNotification
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