pub struct MCPResourcesCapability {
pub subscribe: Option<bool>,
pub list_changed: Option<bool>,
}
Expand description
Resources capability configuration
Fields§
§subscribe: Option<bool>
Whether resources are supported
list_changed: Option<bool>
Whether resource listing is supported
Trait Implementations§
Source§impl Clone for MCPResourcesCapability
impl Clone for MCPResourcesCapability
Source§fn clone(&self) -> MCPResourcesCapability
fn clone(&self) -> MCPResourcesCapability
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MCPResourcesCapability
impl Debug for MCPResourcesCapability
Source§impl<'de> Deserialize<'de> for MCPResourcesCapability
impl<'de> Deserialize<'de> for MCPResourcesCapability
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 MCPResourcesCapability
impl RefUnwindSafe for MCPResourcesCapability
impl Send for MCPResourcesCapability
impl Sync for MCPResourcesCapability
impl Unpin for MCPResourcesCapability
impl UnwindSafe for MCPResourcesCapability
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