1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Manticore Search Client
*
* Сlient for Manticore Search.
*
* The version of the OpenAPI document: 5.0.0
* Contact: info@manticoresearch.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// MatchAll : Filter helper object defining the 'match all'' condition
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MatchAll {
#[serde(rename = "_all")]
pub _all: All,
}
impl MatchAll {
/// Filter helper object defining the 'match all'' condition
pub fn new(_all: All) -> MatchAll {
MatchAll {
_all,
}
}
}
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum All {
#[serde(rename = "{}")]
LeftCurlyBracketRightCurlyBracket,
}
impl Default for All {
fn default() -> All {
Self::LeftCurlyBracketRightCurlyBracket
}
}