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:
15
src/data/survey_response.rs
Normal file
15
src/data/survey_response.rs
Normal 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
|
||||
}
|
Reference in New Issue
Block a user