Skip to main content

ExtensionFamilyId

Derive Macro ExtensionFamilyId 

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

Derive an inherent FAMILY_ID constant for an extension payload type.

The required attribute is: #[tenferro_extension(namespace = "...", version = N)]. name = "..." is optional; when omitted, the Rust type name is converted to snake_case.