#[derive(AppLabel)]
{
// Attributes available to this derive:
#[app_label]
}
Expand description
Generates an impl of the AppLabel
trait.
This works only for unit structs, or enums with only unit variants.
You may force a struct or variant to behave as if it were fieldless with #[app_label(ignore_fields)]
.