[][src]Attribute Macro azure_functions_codegen::func

#[func]

Implements the func attribute.

This attribute is used to turn a Rust function into an Azure Function.

Examples

This example is not tested
use azure_functions::func;
use azure_functions::bindings::HttpRequest;

#[func]
pub fn example(req: &HttpRequest) {
}