Type Alias Notification

Source
pub type Notification<'a> = Notification<'a, Option<Cow<'a, RawValue>>>;
Expand description

Re-export types from jsonrpsee_types crate for convenience.

Aliased Type§

pub struct Notification<'a> {
    pub jsonrpc: TwoPointZero,
    pub method: Cow<'a, str>,
    pub params: Option<Cow<'a, RawValue>>,
    pub extensions: Extensions,
}

Fields§

§jsonrpc: TwoPointZero

JSON-RPC version.

§method: Cow<'a, str>

Name of the method to be invoked.

§params: Option<Cow<'a, RawValue>>

Parameter values of the request.

§extensions: Extensions

Extensions of the notification.