[−][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_CLIENTwhich is initialized usinglazy_staticRequestwhich usesGLOBAL_CLIENTand wrapsyukikaze::client::Request- Creates and defines trait
GlobalRequestfor generatedRequest.
See example of generated
See usage