mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
chore: Use serde derive lowercase on RankingOrdering
This commit is contained in:
parent
1941cb16c0
commit
13309511b3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user