Add new line after each code block
@@ -113,6 +113,7 @@ pub struct Config {
#[structopt(long, short = "c", env = "CONFIG_FILE", default_value = "")]
pub config_file: String,
}
+
#[derive(Clone, serde::Deserialize, PartialEq, StructOpt, StructOptToml)]
#[serde(default)]
pub struct Password{
@@ -139,6 +140,7 @@ impl fmt::Debug for Password{
write!(f, "******")
}
}
+
#[derive(Clone, serde::Deserialize, PartialEq, StructOpt, StructOptToml)]
#[serde(default)]
pub struct User{
@@ -150,6 +152,7 @@ impl fmt::Debug for User {
write!(f, "******")
}
}
+
impl AsRef<String> for User {
fn as_ref(&self) -> &String {
&self.store_api_username
