aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/selected.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-29 13:16:58 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-29 13:16:58 +0200
commit1bc109df72a3d785211a128b3f28746232258924 (patch)
tree7f9698fb3b61aa506d0a1d8e0835db23b882e23a /src/imap/command/selected.rs
parent3cf91429c7eb675639fbcbf006e04d790645cf77 (diff)
downloadaerogramme-1bc109df72a3d785211a128b3f28746232258924.tar.gz
aerogramme-1bc109df72a3d785211a128b3f28746232258924.zip
Refactoring
Diffstat (limited to 'src/imap/command/selected.rs')
-rw-r--r--src/imap/command/selected.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs
index d3dddd4..bd46bd5 100644
--- a/src/imap/command/selected.rs
+++ b/src/imap/command/selected.rs
@@ -10,11 +10,12 @@ use imap_codec::types::sequence::SequenceSet;
use crate::imap::command::authenticated;
use crate::imap::flow;
-use crate::mail::Mailbox;
+use crate::mail::mailbox::Mailbox;
+use crate::mail::user::User;
pub struct SelectedContext<'a> {
pub req: &'a Request,
- pub user: &'a flow::User,
+ pub user: &'a User,
pub mailbox: &'a mut Mailbox,
}