cli/cli_config: added 'clone' to cashierconfig. added db path

This commit is contained in:
lunar-mining
2021-09-17 16:53:52 +02:00
parent 10a35b5d2a
commit 0532d873bf

View File

@@ -73,7 +73,7 @@ pub struct GatewaydConfig {
pub log_path: String,
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Clone, Serialize, Deserialize, Debug)]
pub struct CashierdConfig {
#[serde(rename = "accept_url")]
pub accept_url: String,
@@ -87,6 +87,12 @@ pub struct CashierdConfig {
#[serde(rename = "log_path")]
pub log_path: String,
#[serde(rename = "database_path")]
pub database_path: String,
#[serde(rename = "cashierdb_path")]
pub cashierdb_path: String,
#[serde(rename = "password")]
pub password: String,