Add newtypes for UnixUser, DbUser, etc. #34

Closed
opened 2024-08-07 00:06:20 +02:00 by oysteikt · 0 comments
Owner

There are a lot of strings passing around, with different types of content. Just to make absolutely sure that no one mixes up database names, database usernames and unix usernames at any point, it would be good if we could add types to them.

https://doc.rust-lang.org/rust-by-example/generics/new_types.html

There are a lot of strings passing around, with different types of content. Just to make absolutely sure that no one mixes up database names, database usernames and unix usernames at any point, it would be good if we could add types to them. https://doc.rust-lang.org/rust-by-example/generics/new_types.html
oysteikt added the feature request label 2024-08-07 00:06:20 +02:00
oysteikt removed the feature request label 2024-08-20 17:35:02 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/mysqladm-rs#34