Skip to main content

Module modifiers

Module modifiers 

Source
Expand description

The #[sqlfunc] attribute’s key-value modifiers.

Modifiers is the parsed attribute. Modifiers::validate checks it before anything is generated. Modifiers that feed Display or the output-type body have their own accessors, and the ones that map onto a trait method are reached through Modifiers::get.

Structs§

Modifiers 🔒
Modifiers passed as key-value pairs to the #[sqlfunc] macro.

Enums§

SqlName 🔒
A name for the SQL function. It can be either a literal or a macro, thus we can’t use String or syn::Expr directly.