-
-
Save stephanbuys/8d85109ff7b6edd5ba21fa401ae9a0d7 to your computer and use it in GitHub Desktop.
This file contains 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(Queryable)] | |
pub struct Post { | |
pub id: i32, | |
pub title: String, | |
pub body: String, | |
pub published: bool, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment