Crate dialtone_sqlx_macros

Source

Derive Macrosยง

SqlxEnumProxy
This macro defines FromStr, ToStr, and Into implementations for enums based on another enum. Therefore, the derived enum can proxy for the base enum. The purpose of this is to allow the proxy to track the base enum allowing the base enum to be free of the sqlx types (and therefore, its containing crate will not need the sqlx dependency). This is useful if the base enum is used in a different tier of the application, such as in client side webapps.