#[derive(AsJsonb)]
struct Something {
thing: String,
}
struct Wrapper {
things: Vec<Something> // For field type Array<Jsonb>
thing: Something // For field type Jsonb
}
forked from terry90/diesel_as_jsonb
-
Notifications
You must be signed in to change notification settings - Fork 0
Allows struct to be used as jsonb with diesel and PG
License
telcoin/diesel_as_jsonb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Allows struct to be used as jsonb with diesel and PG
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Rust 100.0%