pub struct McpPromptsListChangedData {
pub server_name: String,
}Expand description
Session event “mcp.prompts.list_changed”. Payload of MCP list_changed notification events, emitted when an MCP server announces at runtime that one of its advertised lists changed.
Fields§
§server_name: StringName of the MCP server whose list changed
Trait Implementations§
Source§impl Clone for McpPromptsListChangedData
impl Clone for McpPromptsListChangedData
Source§fn clone(&self) -> McpPromptsListChangedData
fn clone(&self) -> McpPromptsListChangedData
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 McpPromptsListChangedData
impl Debug for McpPromptsListChangedData
Source§impl Default for McpPromptsListChangedData
impl Default for McpPromptsListChangedData
Source§fn default() -> McpPromptsListChangedData
fn default() -> McpPromptsListChangedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPromptsListChangedData
impl<'de> Deserialize<'de> for McpPromptsListChangedData
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 McpPromptsListChangedData
impl RefUnwindSafe for McpPromptsListChangedData
impl Send for McpPromptsListChangedData
impl Sync for McpPromptsListChangedData
impl Unpin for McpPromptsListChangedData
impl UnsafeUnpin for McpPromptsListChangedData
impl UnwindSafe for McpPromptsListChangedData
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