Expand description
§Macros for module-utils crate
You normally shouldn’t use this crate directly but the module-utils crate instead.
Attribute Macros§
- merge_
conf - This attribute macro merges the configuration settings from all structs identified as field of
the current struct. The result will implement
serde::Deserialize,DebugandDefaultautomatically. All field types are required to implementserde::Deserialize,DebugandDefault. - merge_
opt - This attribute macro merges the command-line arguments from all structs identified as field of
the current struct. The result will implement
structopt::StructOptandDebugautomatically. All field types are required to implementstructopt::StructOptandDebug.
Derive Macros§
- Request
Filter - This macro will automatically implement
RequestFilterby chaining the handlers identified in the struct’s fields.