1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 14:19:45 +00:00

Add responses to surveys to export

This commit is contained in:
2020-07-13 19:38:51 +02:00
parent 70d5facf4c
commit 88c45f05ac
9 changed files with 80 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
//! # Survey response
//!
//! This structure contains information about a single response to a survey
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
pub struct SurveyResponse {
pub id: u64,
pub time_sent: u64,
pub user_id: UserID,
pub survey_id: u64,
pub choice_id: u64
}