pub struct ListRootsParams {
pub meta: Option<RequestMeta>,
}Expand description
Result of a roots/list request from the server.
Contains the list of roots the client has exposed. Clients notify
the server of root changes via notifications/roots/list_changed.
Parameters for roots/list request (server to client)
Fields§
§meta: Option<RequestMeta>Optional metadata
Trait Implementations§
Source§impl Clone for ListRootsParams
impl Clone for ListRootsParams
Source§fn clone(&self) -> ListRootsParams
fn clone(&self) -> ListRootsParams
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 ListRootsParams
impl Debug for ListRootsParams
Source§impl Default for ListRootsParams
impl Default for ListRootsParams
Source§fn default() -> ListRootsParams
fn default() -> ListRootsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListRootsParams
impl<'de> Deserialize<'de> for ListRootsParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListRootsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListRootsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ListRootsParams
impl Serialize for ListRootsParams
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 ListRootsParams
impl RefUnwindSafe for ListRootsParams
impl Send for ListRootsParams
impl Sync for ListRootsParams
impl Unpin for ListRootsParams
impl UnsafeUnpin for ListRootsParams
impl UnwindSafe for ListRootsParams
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