added gdpr

This commit is contained in:
vextrixes committed 2026-10-25 14:31:35 +01:00
1 parent 26ac5ab1ff
commit ac8b0410d7
2 files changed
+21

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct GDPRcommissioners {
pub commissioners: Vec<GDPRcommissioner>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct GDPRcommissioner {
pub id: String,
pub name: String,
pub mobile: String,
pub phone: String,
pub email: String,
pub web: String,
pub data_box: String,
}
+2
View File
@@ -3,6 +3,7 @@ mod api_info;
mod attachment;
mod error;
mod events;
mod gdpr;
mod homework;
mod marks;
mod payments;
@@ -17,6 +18,7 @@ pub use api_info::ApiInfo;
pub use attachment::Attachment;
pub use error::Error;
pub use events::Events;
pub use gdpr::{GDPRcommissioner, GDPRcommissioners};
pub use homework::{Homework, HomeworkListItem};
pub use marks::{Mark, Marks, SubjectMarks};
pub use payments::{AddBalance, ClassfundPayments, ClassfundSummary, Payment, PaymentMonthlyData};