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<Cow<'a, RawValue>>,
}
Expand description
Serializable JSON-RPC object.
Fields§
§jsonrpc: TwoPointZero
JSON-RPC version.
id: Id<'a>
Request ID
method: Cow<'a, str>
Name of the method to be invoked.
params: Option<Cow<'a, RawValue>>
Parameter values of the request.
Implementations§
Trait Implementations§
source§impl<'a> Debug for RequestSer<'a>
impl<'a> Debug for RequestSer<'a>
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§
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