schedulelib/dto/
data_for_chat_allowed_check.rs

1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

use crate::dto::lesson_response::LessonResponse;
use crate::dto::school_class_response::SchoolClassResponse;

#[derive(Serialize, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct DataForChatAllowedCheck {
    pub class: Option<SchoolClassResponse>,
    pub lessons: Vec<LessonResponse>,
}