pub struct RpcBatchCall {
pub method: String,
pub params: Option<Value>,
}Expand description
One call in an unsplit JSON-RPC batch.
Fields§
§method: StringWire-compatible JSON-RPC method name.
params: Option<Value>Positional array or named object parameters.
Implementations§
Trait Implementations§
Source§impl Clone for RpcBatchCall
impl Clone for RpcBatchCall
Source§impl Debug for RpcBatchCall
impl Debug for RpcBatchCall
Auto Trait Implementations§
impl Freeze for RpcBatchCall
impl RefUnwindSafe for RpcBatchCall
impl Send for RpcBatchCall
impl Sync for RpcBatchCall
impl Unpin for RpcBatchCall
impl UnsafeUnpin for RpcBatchCall
impl UnwindSafe for RpcBatchCall
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