Allow to encode Config
This commit is contained in:
parent
c6d7dff8b9
commit
ee2deea79c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ use std::path::Path;
|
|||
use rustc_serialize::json::decode;
|
||||
|
||||
/// Configuration data.
|
||||
#[derive(Clone, RustcDecodable, Default, PartialEq, Debug)]
|
||||
#[derive(Clone, RustcDecodable, RustcEncodable, Default, PartialEq, Debug)]
|
||||
pub struct Config {
|
||||
/// A list of the owners of the bot by nickname.
|
||||
pub owners: Option<Vec<String>>,
|
||||
|
|
Loading…
Reference in a new issue