Skip to main content

Content

Derive Macro Content 

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

Derive a declaration of the content a struct accepts, from its named fields.

See base_web_content::Content for the field types and attributes it accepts.