Crate bonsaidb_macros
source ·Expand description
Macros BonsaiDb.
Derive Macros
- Derives the
bonsaidb::core::api::Apitrait. - Derives the
bonsaidb::core::schema::Collectiontrait.#[collection(authority = "Authority", name = "Name", views = [a, b, c])] - Derives the
bonsaidb::files::FileConfigtrait. - Derives the
bonsaidb::core::key::Keytrait. - Derives the
bonsaidb::core::schema::Schematrait. - Derives the
bonsaidb::core::schema::Viewtrait. - Derives the
bonsaidb::core::schema::ViewSchematrait.#[view_schema(version = 1, policy = Unique, view=ViewType, mapped_key=KeyType<'doc>)]