pub type SubscriptionResponse<'a, T> = Notification<'a, SubscriptionPayload<'a, T>>;Expand description
Subscription response object, embedding a SubscriptionPayload in the params member along
with result field.
Aliased Type§
pub struct SubscriptionResponse<'a, T> {
pub jsonrpc: TwoPointZero,
pub method: Cow<'a, str>,
pub params: SubscriptionPayload<'a, T>,
}Fields§
§jsonrpc: TwoPointZeroJSON-RPC version.
method: Cow<'a, str>Name of the method to be invoked.
params: SubscriptionPayload<'a, T>Parameter values of the request.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.