use std::fmt;
#[derive(Clone)]
pub struct Config {
pub rpc_url: String,
pub rpc_user: String,
pub rpc_password: String,
}
impl fmt::Debug for Config {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Config")
.field("rpc_url", &self.rpc_url)
.field("rpc_user", &"[redacted]")
.field("rpc_password", &"[redacted]")
.finish()
}
}