1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00
comunicapiv3/src/data/new_survey.rs
2020-07-08 20:16:09 +02:00

13 lines
252 B
Rust

//! # New survey information
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
pub struct NewSurvey {
pub post_id: u64,
pub user_id: UserID,
pub question: String,
pub choices: Vec<String>,
pub allow_new_choices: bool,
}