chore: Use serde derive lowercase on RankingOrdering

This commit is contained in:
Quentin de Quelen 2019-02-21 13:56:08 +01:00
parent 1941cb16c0
commit 13309511b3

View File

@ -1,8 +1,8 @@
use std::collections::{HashSet, HashMap};
use serde_derive::{Serialize, Deserialize};
#[derive(Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum RankingOrdering {
Asc,
Dsc