mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08: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…
Reference in New Issue
Block a user