Attribute Macro spring_macros::fix_rate

source ·
#[fix_rate]
Expand description

§Syntax

#[fix_rate(60)]

§Attributes

  • "path": Raw literal string with path for which to register handler.

§Examples

#[fix_rate(60)]
async fn example() {
    println!("hello world");
}