[−][src]Macro yukikaze::declare_global_client
Declares global client for use.
If no argument is specified, uses DefaultCfg
Otherwise you must provide accessible type of unit struct that implements Config
Creates following:
GLOBAL_CLIENT
which is initialized usinglazy_static
Request
which usesGLOBAL_CLIENT
and wrapsyukikaze::client::Request
- Creates and defines trait
GlobalRequest
for generatedRequest
.
See example of generated
See usage