Z7OFWSBLMTVZKR4ERUMZDKBMB7UXJAAXPPMJ4MJKSJR5WRO644UQC
AXDOLAOAMIKZQMYKXVTMKKOQXLTWOKRONBFSEA4KCBK3DCSDD7ZQC
F5UQL2FBQIM7TRVPVCFT3JBPZ6O75SKL6IRWR7RX6BWPVNRA7PFAC
AVBHYHOA3PGALA7WNBMKYV3BOPJTBPJEMECMEVM5YFI2KZSNE5OQC
PHPCAQ6ZOH64J22YO3LAHZDZ6IWRKDT4CRRC4Y2I5ADERWPBRWIQC
FVVPKFTLD5VOGVDF7MOSSKQ3KPCT4HDGTNTTC6I6B4TWXOTPCJ7AC
use config;
jid: String, password: String,
jid: String,
password: String,
account: config::Account,
fn new(jid: &str, password: &str) -> XmppConnection {
fn new(account: config::Account) -> XmppConnection {
jid: jid.to_owned(), password: password.to_owned(),
jid: jid.to_owned(),
password: password.to_owned(),
account,
let XmppConnection { jid, password, inner, } = self;
let XmppConnection {
jid,
password,
inner,
} = self;
let XmppConnection { account, inner } = self;
let mut res_client = Client::new(&jid, &password);
let mut res_client = Client::new(&account.jid, &account.password);
res_client = Client::new(&jid, &password);
res_client = Client::new(&account.jid, &account.password);
jid, password,
jid: &str, password: &str,
jid: &str,
password: &str,
let conn = XmppConnection::new(jid, password);
let conn = XmppConnection::new(account);
&config.account.jid, &config.account.password,
&config.account.jid,
&config.account.password,
config.account,