1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 16:35:17 +00:00

Start account export

This commit is contained in:
2020-07-13 19:12:39 +02:00
parent f21636aa4e
commit 67dd29fe2d
8 changed files with 84 additions and 4 deletions

View File

@ -0,0 +1,13 @@
//! # Export of all account's data
//!
//! @author Pierre Hubert
use crate::data::comment::Comment;
use crate::data::post::Post;
use crate::data::user::User;
pub struct AccountExport {
pub user: User,
pub posts: Vec<Post>,
pub comments: Vec<Comment>,
}

View File

@ -26,4 +26,5 @@ pub mod comment;
pub mod new_survey;
pub mod notification;
pub mod user_membership;
pub mod new_account;
pub mod new_account;
pub mod account_export;