Struct jsonrpsee_core::params::ObjectParams  
source · pub struct ObjectParams(_);Expand description
Parameter builder that serializes named value parameters to a JSON compatible string.
This is the equivalent of a JSON Map object { key: value }.
Examples
use jsonrpsee_core::params::ObjectParams;
let mut builder = ObjectParams::new();
builder.insert("param1", 1);
builder.insert("param2", "abc");
// Use RPC parameters...Implementations§
Trait Implementations§
source§impl Clone for ObjectParams
 
impl Clone for ObjectParams
source§fn clone(&self) -> ObjectParams
 
fn clone(&self) -> ObjectParams
Returns a copy 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 more