Derive Macro bonsaidb::core::schema::ViewSchema

source ·
#[derive(ViewSchema)]
{
    // Attributes available to this derive:
    #[view_schema]
}
Expand description

Derives the bonsaidb::core::schema::ViewSchema trait. #[view_schema(version = 1, policy = Unique, view=ViewType, mapped_key=KeyType<'doc>)]

All attributes are optional.