refactor: make mounts and minions default in serde

This commit is contained in:
Kyle Clemens 2019-04-04 19:37:21 -04:00
parent 7acd92b142
commit c4d16a8da7
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 2 additions and 0 deletions

View File

@ -30,7 +30,9 @@ pub struct Character {
pub jobs: BTreeMap<Job, JobInfo>,
#[cfg_attr(feature = "with_serde", serde(default))]
pub mounts: Vec<Mount>,
#[cfg_attr(feature = "with_serde", serde(default))]
pub minions: Vec<Minion>,
#[cfg_attr(feature = "with_serde", serde(with = "url_serde"))]