Type Alias PartiallySerializedRequest

Source
pub type PartiallySerializedRequest = Request<Box<RawValue>>;
Expand description

A Request that has been partially serialized.

The request parameters have been serialized, and are represented as a boxed RawValue. This is useful for collections containing many requests, as it erases the Param type. It can be created with Request::box_params().

See the top-level docs for more info.

Aliased Type§

pub struct PartiallySerializedRequest {
    pub meta: RequestMeta,
    pub params: Box<RawValue>,
}

Fields§

§meta: RequestMeta

The request metadata (ID and method).

§params: Box<RawValue>

The request parameters.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 80 bytes