rustorm-macros
Procedural macros for RustORM.
Provides derive macros for automatically implementing ORM traits on your structs.
Not intended to be used directly — use the rustorm crate instead.
Example
use Model;
Procedural macros for RustORM.
Provides derive macros for automatically implementing ORM traits on your structs.
Not intended to be used directly — use the rustorm crate instead.
use rustorm::Model;
#[derive(Model)]
#[table(name = "users")]
pub struct User {
pub id: uuid::Uuid,
pub name: String,
pub email: String,
}