pub struct ClientCapabilitiesRoots {
pub list_changed: Option<bool>,
}
Expand description
Present if the client supports listing roots.
JSON schema
{
"description": "Present if the client supports listing roots.",
"type": "object",
"properties": {
"listChanged": {
"description": "Whether the client supports notifications for changes to the roots list.",
"type": "boolean"
}
}
}
Fields§
§list_changed: Option<bool>
Whether the client supports notifications for changes to the roots list.
Trait Implementations§
Source§impl Clone for ClientCapabilitiesRoots
impl Clone for ClientCapabilitiesRoots
Source§fn clone(&self) -> ClientCapabilitiesRoots
fn clone(&self) -> ClientCapabilitiesRoots
Returns a copy 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 ClientCapabilitiesRoots
impl Debug for ClientCapabilitiesRoots
Source§impl Default for ClientCapabilitiesRoots
impl Default for ClientCapabilitiesRoots
Source§fn default() -> ClientCapabilitiesRoots
fn default() -> ClientCapabilitiesRoots
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientCapabilitiesRoots
impl<'de> Deserialize<'de> for ClientCapabilitiesRoots
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClientCapabilitiesRoots, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClientCapabilitiesRoots, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ClientCapabilitiesRoots
impl Serialize for ClientCapabilitiesRoots
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ClientCapabilitiesRoots
impl RefUnwindSafe for ClientCapabilitiesRoots
impl Send for ClientCapabilitiesRoots
impl Sync for ClientCapabilitiesRoots
impl Unpin for ClientCapabilitiesRoots
impl UnwindSafe for ClientCapabilitiesRoots
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