WIP
This commit is contained in:
@@ -112,9 +112,18 @@ impl Node {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Database {
|
||||
pub name: String,
|
||||
pub host: String,
|
||||
pub user: String,
|
||||
pub pass: String,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Cluster {
|
||||
pub nodes: Vec<Arc<Node>>,
|
||||
pub database: Database,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user