You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write an axum application and I'm using the validator crate to validate the JSON body. I would like to use Secrete<String> for password to not leak sensitive information when I log the request but validator require that the type implement HasLen. I could implement it myself but in Rust we can't implement trait on external struct.
I was wondering if this was a security reason or if it is possible to implement.
The text was updated successfully, but these errors were encountered:
I write an axum application and I'm using the validator crate to validate the JSON body. I would like to use Secrete<String> for password to not leak sensitive information when I log the request but validator require that the type implement HasLen. I could implement it myself but in Rust we can't implement trait on external struct.
I was wondering if this was a security reason or if it is possible to implement.
The text was updated successfully, but these errors were encountered: