pub struct ProcessRequest {
pub data: String,
}Fields§
§data: StringTrait Implementations§
Source§impl Clone for ProcessRequest
impl Clone for ProcessRequest
Source§fn clone(&self) -> ProcessRequest
fn clone(&self) -> ProcessRequest
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 ProcessRequest
impl Debug for ProcessRequest
Source§impl<'de> Deserialize<'de> for ProcessRequest
impl<'de> Deserialize<'de> for ProcessRequest
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 ProcessRequest
impl JsonRpcMessage for ProcessRequest
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 ProcessRequest
impl JsonRpcRequest for ProcessRequest
Source§type Response = ProcessResponse
type Response = ProcessResponse
The type of data expected in response.
Auto Trait Implementations§
impl Freeze for ProcessRequest
impl RefUnwindSafe for ProcessRequest
impl Send for ProcessRequest
impl Sync for ProcessRequest
impl Unpin for ProcessRequest
impl UnsafeUnpin for ProcessRequest
impl UnwindSafe for ProcessRequest
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