mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 16:35:17 +00:00
Start account export
This commit is contained in:
13
src/data/account_export.rs
Normal file
13
src/data/account_export.rs
Normal 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>,
|
||||
}
|
@ -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;
|
Reference in New Issue
Block a user