pub struct ClientRoots {
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 ClientRoots
impl Clone for ClientRoots
Source§fn clone(&self) -> ClientRoots
fn clone(&self) -> ClientRoots
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 ClientRoots
impl Debug for ClientRoots
Source§impl Default for ClientRoots
impl Default for ClientRoots
Source§fn default() -> ClientRoots
fn default() -> ClientRoots
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientRoots
impl<'de> Deserialize<'de> for ClientRoots
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClientRoots, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClientRoots, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ClientRoots
impl Serialize for ClientRoots
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 ClientRoots
impl RefUnwindSafe for ClientRoots
impl Send for ClientRoots
impl Sync for ClientRoots
impl Unpin for ClientRoots
impl UnwindSafe for ClientRoots
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