diff options
author | notgne2 | 2020-09-28 15:45:53 -0700 |
---|---|---|
committer | notgne2 | 2020-09-28 15:45:53 -0700 |
commit | 239d0f8999b47e9e76589ee1fa2d9f3459c47335 (patch) | |
tree | d9fa64da2385dcb3cf254a92e00fa92d2431c155 /src/utils/data.rs | |
parent | a22063343e54da9f589c7235f2f64b57fe5c257b (diff) |
use separate binary for activation, more cleanup
Diffstat (limited to 'src/utils/data.rs')
-rw-r--r-- | src/utils/data.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/utils/data.rs b/src/utils/data.rs index b28b6cd..0753508 100644 --- a/src/utils/data.rs +++ b/src/utils/data.rs @@ -14,10 +14,12 @@ pub struct GenericSettings { )] #[merge(strategy = merge::vec::append)] pub ssh_opts: Vec<String>, - #[serde(rename(deserialize = "fastConnection"))] - pub fast_connection: Option<bool>, - #[serde(rename(deserialize = "autoRollback"))] - pub auto_rollback: Option<String>, + #[serde(rename(deserialize = "fastConnection"), default)] + #[merge(strategy = merge::bool::overwrite_false)] + pub fast_connection: bool, + #[serde(rename(deserialize = "autoRollback"), default)] + #[merge(strategy = merge::bool::overwrite_false)] + pub auto_rollback: bool, } #[derive(Deserialize, Debug, Clone)] |