#[derive(Schema)]
{
// Attributes available to this derive:
#[schema]
}
Expand description
Derives the bonsaidb::core::schema::Schema
trait.
#[schema(name = "Name", authority = "Authority", collections = [A, B, C]), core = bonsaidb::core]
authority
, collections
and core
are optional