Allow to encode Config

This commit is contained in:
Zetok Zalbavar 2015-09-13 13:49:15 +01:00
parent c6d7dff8b9
commit ee2deea79c
No known key found for this signature in database
GPG key ID: C953D3880212068A

View file

@ -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>>,