Struct jsonrpsee_types::request::RequestSer
source · [−]pub struct RequestSer<'a> {
pub jsonrpc: TwoPointZero,
pub id: &'a Id<'a>,
pub method: &'a str,
pub params: Option<ParamsSer<'a>>,
}Expand description
Serializable JSON-RPC object.
Fields
jsonrpc: TwoPointZeroJSON-RPC version.
id: &'a Id<'a>Request ID
method: &'a strName of the method to be invoked.
params: Option<ParamsSer<'a>>Parameter values of the request.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for RequestSer<'a>
impl<'a> Send for RequestSer<'a>
impl<'a> Sync for RequestSer<'a>
impl<'a> Unpin for RequestSer<'a>
impl<'a> UnwindSafe for RequestSer<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more