1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-23 05:49:22 +00:00
comunicapiv3/src/data/new_survey.rs

13 lines
252 B
Rust
Raw Normal View History

2020-07-08 18:16:09 +00:00
//! # 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,
}