Struct jsonrpsee_types::request::RequestSer
source · pub struct RequestSer<'a> {
pub jsonrpc: TwoPointZero,
pub id: Id<'a>,
pub method: Cow<'a, str>,
pub params: Option<StdCow<'a, RawValue>>,
}Expand description
Serializable JSON-RPC object.
Fields§
§jsonrpc: TwoPointZeroJSON-RPC version.
id: Id<'a>Request ID
method: Cow<'a, str>Name of the method to be invoked.
params: Option<StdCow<'a, RawValue>>Parameter values of the request.