che-orm 0.4.0

Typed SQLite and PostgreSQL ORM for che-rest applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
use che_orm::DbEnum;

#[derive(DbEnum)]
enum Status {
    #[db_enum(rename = "open")]
    Draft,
    #[db_enum(rename = "open")]
    Published,
}

fn main() {}