diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-29 13:16:58 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-29 13:16:58 +0200 |
commit | 1bc109df72a3d785211a128b3f28746232258924 (patch) | |
tree | 7f9698fb3b61aa506d0a1d8e0835db23b882e23a /src/imap/flow.rs | |
parent | 3cf91429c7eb675639fbcbf006e04d790645cf77 (diff) | |
download | aerogramme-1bc109df72a3d785211a128b3f28746232258924.tar.gz aerogramme-1bc109df72a3d785211a128b3f28746232258924.zip |
Refactoring
Diffstat (limited to 'src/imap/flow.rs')
-rw-r--r-- | src/imap/flow.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/imap/flow.rs b/src/imap/flow.rs index 7370bd1..369bee6 100644 --- a/src/imap/flow.rs +++ b/src/imap/flow.rs @@ -1,13 +1,9 @@ use std::error::Error as StdError; use std::fmt; -use crate::login::Credentials; -use crate::mail::Mailbox; +use crate::mail::mailbox::Mailbox; +use crate::mail::user::User; -pub struct User { - pub name: String, - pub creds: Credentials, -} #[derive(Debug)] pub enum Error { |