Skip to content

Commit 444cbfb

Browse files
committed
fix: default value for imap folder
1 parent 804590c commit 444cbfb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/login_param.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ pub struct EnteredImapLoginParam {
7070
/// Folder to watch.
7171
///
7272
/// If empty, user has not entered anything and it shuold expand to "INBOX" later.
73+
#[serde(default)]
7374
pub folder: String,
7475

7576
/// Socket security.

0 commit comments

Comments
 (0)