rust-axum-jwt-auth
rust-axum-jwt-auth copied to clipboard
Using Trait Into/TryFrom for changing struct between User and FilterUser
https://doc.rust-lang.org/stable/rust-by-example/conversion/try_from_try_into.html
Do not implement a function like this: https://github.com/wpcodevo/rust-axum-jwt-auth/blob/040ae80ca0c605242436630073271589b75c38bc/src/handler.rs#L194-L205