pub struct EmptyParams;
Trait Implementations§
Source§impl Clone for EmptyParams
impl Clone for EmptyParams
Source§fn clone(&self) -> EmptyParams
fn clone(&self) -> EmptyParams
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 EmptyParams
impl Debug for EmptyParams
Source§impl Default for EmptyParams
impl Default for EmptyParams
Source§fn default() -> EmptyParams
fn default() -> EmptyParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmptyParams
impl<'de> Deserialize<'de> for EmptyParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmptyParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmptyParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl SerdeParamExtractor<EmptyParams> for EmptyParams
impl SerdeParamExtractor<EmptyParams> for EmptyParams
type Error = McpError
Source§fn extract_serde(
params: RequestParams,
) -> Result<EmptyParams, <EmptyParams as SerdeParamExtractor<EmptyParams>>::Error>
fn extract_serde( params: RequestParams, ) -> Result<EmptyParams, <EmptyParams as SerdeParamExtractor<EmptyParams>>::Error>
Extract parameters using serde deserialization
Source§impl Serialize for EmptyParams
impl Serialize for EmptyParams
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
impl Params for EmptyParams
Auto Trait Implementations§
impl Freeze for EmptyParams
impl RefUnwindSafe for EmptyParams
impl Send for EmptyParams
impl Sync for EmptyParams
impl Unpin for EmptyParams
impl UnwindSafe for EmptyParams
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