pub trait Request<A, B>: Serialize + DeserializeOwned {
    type Response: Serialize + DeserializeOwned;
    type Error: ApiError;

    const ACTION: A;
}
Expand description

Basic request definition.

The request will be serialized and deserialized via Json to ease updating structures without breaking backwards compatibility.

Required Associated Types§

Required Associated Constants§

Implementors§