From 7113809cb7b9f0e73d942b295e693675301d1565 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 13 Jun 2022 12:25:19 +0200 Subject: Improve SELECT --- src/session.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/session.rs') diff --git a/src/session.rs b/src/session.rs index 4e8b301..78d5ffc 100644 --- a/src/session.rs +++ b/src/session.rs @@ -72,10 +72,11 @@ pub struct Instance { pub mailstore: Arc, pub creds: Option, pub selected: Option, + pub username: Option, } impl Instance { fn new(mailstore: Arc, rx: mpsc::Receiver) -> Self { - Self { mailstore, rx, creds: None, selected: None, } + Self { mailstore, rx, creds: None, selected: None, username: None, } } //@FIXME add a function that compute the runner's name from its local info -- cgit v1.2.3