| Crates.io | diesel_as_jsonb |
| lib.rs | diesel_as_jsonb |
| version | 1.0.1 |
| created_at | 2018-11-14 15:28:36.791469+00 |
| updated_at | 2023-11-11 09:09:23.646926+00 |
| description | Use your structs as Jsonb with diesel and PG |
| homepage | |
| repository | https://github.com/terry90/diesel_as_jsonb |
| max_upload_size | |
| id | 96643 |
| size | 4,649 |
#[derive(AsJsonb)]]
struct Something {
thing: String,
}
struct Wrapper {
things: Vec<Something> // For field type Array<Jsonb>
thing: Something // For field type Jsonb
}