qubit 0.10.3

Seamless RPC for Rust & TypeScript
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Type generation specific functionality. There is no real need for this to be directly used,
//! [`qubit_macros::handler`] should handle it all.

pub mod util;

/// Components used to construct the client type for this handler.
#[derive(Debug)]
pub struct HandlerType {
    /// Unique name of the handler. This will automatically be namespaced as appropriate when the
    /// attached router is nested.
    pub name: String,

    /// Signature of this handler.
    pub signature: String,

    /// Kind of the handler, which will be used as the final part of the call in TypeScript.
    pub kind: String,
}