mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
test(http): setting enum serialize/deserialize
This commit is contained in:
parent
dc636d190d
commit
84c1dda39d
4 changed files with 75 additions and 3 deletions
|
@ -14,11 +14,11 @@ use crate::facet::FacetType;
|
|||
use crate::update::{ClearDocuments, IndexDocuments, UpdateIndexingStep};
|
||||
use crate::update::index_documents::{IndexDocumentsMethod, Transform};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum Setting<T> {
|
||||
Set(T),
|
||||
NotSet,
|
||||
Reset,
|
||||
NotSet,
|
||||
}
|
||||
|
||||
impl<T> Default for Setting<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue