Derive Macro bonsaidb_core::schema::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])]