pub struct RpcRequest {
pub method: String,
pub params: Vec<Value>,
pub id: Value,
pub jsonrpc: Option<String>,
}
Fields§
§method: String
§params: Vec<Value>
§id: Value
§jsonrpc: Option<String>
Trait Implementations§
Source§impl Clone for RpcRequest
impl Clone for RpcRequest
Source§fn clone(&self) -> RpcRequest
fn clone(&self) -> RpcRequest
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 RpcRequest
impl Debug for RpcRequest
Source§impl PartialEq for RpcRequest
impl PartialEq for RpcRequest
Source§impl Serialize for RpcRequest
impl Serialize for RpcRequest
impl StructuralPartialEq for RpcRequest
Auto Trait Implementations§
impl Freeze for RpcRequest
impl RefUnwindSafe for RpcRequest
impl Send for RpcRequest
impl Sync for RpcRequest
impl Unpin for RpcRequest
impl UnwindSafe for RpcRequest
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