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
/*
* opensearch-client
*
* Rust Client for OpenSearch
*
* The version of the OpenAPI document: 3.1.0
* Contact: alberto.paro@gmail.com
* Generated by Paro OpenAPI Generator
*/
use serde::{Deserialize, Serialize};
/// Void
/// The absence of any type. This is commonly used in APIs that don't return a body.
///
/// Although "void" is generally used for a unit type that has only one value, this is interpreted as
/// the bottom type, which has no value. Most languages have a unit type, but few have a bottom type.
///
/// See https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Void {
}
impl Void {
/// The absence of any type. This is commonly used in APIs that don't return a body.
///
/// Although "void" is generally used for a unit type that has only one value, this is interpreted as
/// the bottom type, which has no value. Most languages have a unit type, but few have a bottom type.
///
/// See https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type.
pub fn new() -> Void {
Void {
}
}
}