Attribute Macro atmosphere::hooks

source ·
#[hooks]
Expand description

An attribute macro for registering on a table. Must be used after #[derive(Schema)].

Usage:

#[hooks(path::to::my::Hook)]
struct MyTable { .. }