mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 21:39:21 +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,
|
|
} |