Skip to main content

FieldValue

Derive Macro FieldValue 

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

Derive the conversion of an enumeration from a field’s text: the exact, case-sensitive spelling of each variant.

See base_web_content::FieldValue for the spellings and attributes it accepts.