(&self, currency_lc: &str, currency: &str)
| 50 | } |
| 51 | |
| 52 | pub fn reply_members(&self, currency_lc: &str, currency: &str) -> Vec<String> { |
| 53 | self.reply_members |
| 54 | .iter() |
| 55 | .map(|s| { |
| 56 | s.replace("{currency_lc}", currency_lc) |
| 57 | .replace("{currency}", currency) |
| 58 | }) |
| 59 | .collect() |
| 60 | } |
| 61 | |
| 62 | pub fn name(&self) -> &str { |
| 63 | &self.name |