pub struct McpPromptsCapability {
pub list_changed: bool,
}Expand description
Prompt capabilities.
Fields§
§list_changed: boolWhether prompts list can change.
Trait Implementations§
Source§impl Clone for McpPromptsCapability
impl Clone for McpPromptsCapability
Source§fn clone(&self) -> McpPromptsCapability
fn clone(&self) -> McpPromptsCapability
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 McpPromptsCapability
impl Debug for McpPromptsCapability
Source§impl Default for McpPromptsCapability
impl Default for McpPromptsCapability
Source§fn default() -> McpPromptsCapability
fn default() -> McpPromptsCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpPromptsCapability
impl<'de> Deserialize<'de> for McpPromptsCapability
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 McpPromptsCapability
impl RefUnwindSafe for McpPromptsCapability
impl Send for McpPromptsCapability
impl Sync for McpPromptsCapability
impl Unpin for McpPromptsCapability
impl UnwindSafe for McpPromptsCapability
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