use std::borrow::Cow;
use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct AppConfig {
pub servers: Vec<ServerConfig>,
}
#[derive(Deserialize, Debug)]
pub struct ServerConfig {
pub host: String,
pub user: String,
pub password: String,
}
pub struct ConfigClient<'a>{
pub(crate) host: Cow<'a, str>,
pub(crate) user: Cow<'a, str>,
pub(crate) password: Cow<'a, str>,
}