added gdpr
This commit is contained in:
2 files changed
+21
No files matched your search
+19
@@ -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,
|
||||
}
|
||||
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user