mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-24 17:56:29 +00:00
25 lines
472 B
Rust
25 lines
472 B
Rust
#[derive(Clone, PartialEq, Hash, std::cmp::Eq, Debug)]
|
|
pub struct Address {
|
|
pub host: String,
|
|
pub port: String,
|
|
}
|
|
|
|
#[derive(Clone, PartialEq, Hash, std::cmp::Eq)]
|
|
pub struct User {
|
|
pub name: String,
|
|
pub password: String,
|
|
}
|
|
|
|
// #[derive(Clone)]
|
|
// pub struct Config {
|
|
// pools: HashMap<String, Pool<ServerPool>>,
|
|
// }
|
|
|
|
// impl Config {
|
|
// pub fn new() -> Config {
|
|
// Config {
|
|
// pools: HashMap::new(),
|
|
// }
|
|
// }
|
|
// }
|