Derive Macro bonsaidb_macros::Collection

source ·
#[derive(Collection)]
{
    // Attributes available to this derive:
    #[collection]
    #[natural_id]
}
Expand description

Derives the bonsaidb::core::schema::Collection trait. #[collection(authority = "Authority", name = "Name", views = [a, b, c])]