Derive Macro bonsaidb_macros::View

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

Derives the bonsaidb::core::schema::View trait.

#[view(collection=CollectionType, key=KeyType, value=ValueType, name = "by-name")] name and value are optional