macro_rules! client_api {
(
$(#[$struct_meta:meta])*
$vis:vis struct $Name:ident;
$(
$(#[$method_meta:meta])*
$method_name:ident => $Endpoint:ty;
)*
) => { ... };
}Expand description
Generate a named client wrapper struct with a method per endpoint.
See the module-level documentation for usage examples.