use crate::schema::pastes; #[derive(AsChangeset, Serialize, Deserialize, Queryable, Insertable)] #[table_name = "pastes"] pub struct Paste { pub id: Option, pub belongs_to: Option, pub is_url: Option, pub content: String, }