src/client/http_client.rs: allow access to AuthInfo fields

This commit is contained in:
Dietmar Maurer 2020-01-05 10:31:19 +01:00
parent d6beed07b0
commit 3743dee6de

View File

@ -24,9 +24,9 @@ use crate::tools::{self, tty, BroadcastFuture, DEFAULT_ENCODE_SET};
#[derive(Clone)]
pub struct AuthInfo {
username: String,
ticket: String,
token: String,
pub username: String,
pub ticket: String,
pub token: String,
}
/// HTTP(S) API client