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)] #[derive(Clone)]
pub struct AuthInfo { pub struct AuthInfo {
username: String, pub username: String,
ticket: String, pub ticket: String,
token: String, pub token: String,
} }
/// HTTP(S) API client /// HTTP(S) API client