journallib/dto/
subgroup_location_response.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use std::collections::HashMap;

#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct SubgroupLocationResponse {
    pub id: Uuid,
    pub students : HashMap<Uuid, String>,
    pub teacher: Option<Uuid>,
    pub location : Option<Uuid>
}