macro_rules! define_composite_checker { ( $ident: ident, [ $($ty: ident $(< $( $generic_ident: ident: $generic_type: ty ),* $(,)? >)?),* $(,)? ] $(,)? ) => { ... }; }
Expand description
Defines a composite application database checker that includes multiple other application database checkers.
This macro can be invoked as follows:
define_composite_checker! {
CheckerIdent,
[
ResourceDatabaseChecker,
RoleAssignmentDatabaseChecker
]
}
The above macro invocation will create a struct with the given ident which implements
ApplicationChecker
. Whenever one of the ApplicationChecker
methods are called the data
is passed to the ApplicationChecker
implementation of the child checkers.