assignmentlib/dto/
report_response.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


use serde::{Deserialize, Serialize};
use uuid::Uuid;
use crate::dto::report_question_response::ReportQuestionResponse;

#[derive(
Clone,
Serialize,
Deserialize,
Debug,
PartialEq
)]
#[serde(rename_all = "camelCase")]
pub struct ReportResponse {
    pub id: Uuid,
    pub user_progress: Vec<ReportQuestionResponse>
}