pub struct ListRootsRequestParams {
pub meta: Option<ListRootsRequestParamsMeta>,
pub extra: Option<Map<String, Value>>,
}
Expand description
ListRootsRequestParams
JSON schema
{
"type": "object",
"properties": {
"_meta": {
"type": "object",
"properties": {
"progressToken": {
"description": "If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.",
"$ref": "#/definitions/ProgressToken"
}
}
}
},
"additionalProperties": {}
}
Fields§
§meta: Option<ListRootsRequestParamsMeta>
§extra: Option<Map<String, Value>>
Trait Implementations§
Source§impl Clone for ListRootsRequestParams
impl Clone for ListRootsRequestParams
Source§fn clone(&self) -> ListRootsRequestParams
fn clone(&self) -> ListRootsRequestParams
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 ListRootsRequestParams
impl Debug for ListRootsRequestParams
Source§impl Default for ListRootsRequestParams
impl Default for ListRootsRequestParams
Source§fn default() -> ListRootsRequestParams
fn default() -> ListRootsRequestParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListRootsRequestParams
impl<'de> Deserialize<'de> for ListRootsRequestParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListRootsRequestParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListRootsRequestParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ListRootsRequestParams
impl Serialize for ListRootsRequestParams
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 ListRootsRequestParams
impl RefUnwindSafe for ListRootsRequestParams
impl Send for ListRootsRequestParams
impl Sync for ListRootsRequestParams
impl Unpin for ListRootsRequestParams
impl UnwindSafe for ListRootsRequestParams
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