Derive Macro FieldNamesAsArray

Source
#[derive(FieldNamesAsArray)]
{
    // Attributes available to this derive:
    #[field_names_as_array]
}
Expand description

Derives the FieldNamesAsArray procedural macro.

ยงPanics

If the token stream is not coming from a named struct or if the field_names_as_array attribute is used wrongfully, deriving this macro will fail.