pub struct MyRequest {}Trait Implementations§
Source§impl<'de> Deserialize<'de> for MyRequest
impl<'de> Deserialize<'de> for MyRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonRpcMessage for MyRequest
impl JsonRpcMessage for MyRequest
Source§fn matches_method(method: &str) -> bool
fn matches_method(method: &str) -> bool
Check if this message type matches the given method name.
Source§fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
Convert this message into an untyped message.
Source§impl JsonRpcRequest for MyRequest
impl JsonRpcRequest for MyRequest
Source§type Response = MyResponse
type Response = MyResponse
The type of data expected in response.
Auto Trait Implementations§
impl Freeze for MyRequest
impl RefUnwindSafe for MyRequest
impl Send for MyRequest
impl Sync for MyRequest
impl Unpin for MyRequest
impl UnsafeUnpin for MyRequest
impl UnwindSafe for MyRequest
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