pub struct McpServerEventStreamNotification {
pub notification: McpServerEventNotification,
pub subscription_id: String,
}Expand description
mcpServer/event/stream/notification — an MCP server’s own
notification stream, forwarded to subscribers.
Fields§
§notification: McpServerEventNotification§subscription_id: StringTrait Implementations§
Source§impl Clone for McpServerEventStreamNotification
impl Clone for McpServerEventStreamNotification
Source§fn clone(&self) -> McpServerEventStreamNotification
fn clone(&self) -> McpServerEventStreamNotification
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<'de> Deserialize<'de> for McpServerEventStreamNotification
impl<'de> Deserialize<'de> for McpServerEventStreamNotification
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 McpServerEventStreamNotification
Auto Trait Implementations§
impl Freeze for McpServerEventStreamNotification
impl RefUnwindSafe for McpServerEventStreamNotification
impl Send for McpServerEventStreamNotification
impl Sync for McpServerEventStreamNotification
impl Unpin for McpServerEventStreamNotification
impl UnsafeUnpin for McpServerEventStreamNotification
impl UnwindSafe for McpServerEventStreamNotification
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