refactor: make mounts and minions default in serde

This commit is contained in:
Anna 2019-04-04 19:37:21 -04:00
parent 0f72e55738
commit 6099588294
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"))]