mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +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 std::collections::{HashSet, HashMap};
|
||||||
|
|
||||||
use serde_derive::{Serialize, Deserialize};
|
use serde_derive::{Serialize, Deserialize};
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||||
|
#[serde(rename_all = "lowercase")]
|
||||||
pub enum RankingOrdering {
|
pub enum RankingOrdering {
|
||||||
Asc,
|
Asc,
|
||||||
Dsc
|
Dsc
|
||||||
|
Loading…
Reference in New Issue
Block a user