move attachment, body and header to dedicated folders

This commit is contained in:
Clément DOUIN
2021-09-19 10:14:25 +02:00
parent cdce6c0bf2
commit 474fae06ee
13 changed files with 46 additions and 27 deletions
+4 -4
View File
@@ -18,8 +18,10 @@ use crate::{
mbox::entity::Mbox,
msg::{
self,
body::Body,
entity::{Msg, Msgs},
body::entity::Body,
entity::{Msg, MsgSerialized, Msgs},
flag::entity::Flags,
header::entity::Headers,
},
smtp::service::SmtpServiceInterface,
},
@@ -27,8 +29,6 @@ use crate::{
ui::choice::{self, PostEditChoice},
};
use super::{entity::MsgSerialized, flag::entity::Flags, headers::Headers};
// TODO: move this function to the right folder
fn msg_interaction<ImapService: ImapServiceInterface, SmtpService: SmtpServiceInterface>(
output: &OutputService,