Another emoji reaction bot(this one is for Discord)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
353 B

use crate::schema::user_programs;
use bigdecimal::BigDecimal;
pub struct UserProgram {
pub id: i32,
pub discord_user_id: u64,
pub name: String,
pub code: String,
#[table_name = "user_programs"]
pub struct NewUserProgram<'a> {
pub discord_user_id: BigDecimal,
pub name: &'a str,
pub code: &'a str,