Derive Macro rocket_governor_derive::RocketGovernorWithMember[][src]

#[derive(RocketGovernorWithMember)]
Expand description

Derive to implement RocketGovernor guard with handling struct members

rocket_governor_derive is a rocket guard implementation of the governor rate limiter.

It is used in combination with rocket_governor.

Declare a struct with #[derive(RocketGovernorWithMember)] and implement the missing quota() method and the Default trait.