mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-23 05:49:22 +00:00
13 lines
252 B
Rust
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,
|
||
|
}
|