Created
March 16, 2017 11:36
-
-
Save goyox86/6f638e14ec542551b412f82dd0067b50 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Insertable)] | |
#[table_name="users"] | |
pub struct NewUserReadyForInsertion { | |
pub name: String, | |
pub username: String, | |
pub email: String, | |
pub hashed_password: String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment