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
#[derive(Debug, Default, Clone, serde::Deserialize, serde::Serialize)]
pub struct Empty {}

impl Empty {
    pub fn new() -> Self {
        Self {}
    }
}

impl From<()> for Empty {
    fn from(_: ()) -> Self {
        Self::new()
    }
}

impl crate::Input for Empty {
    fn reflectapi_input_type(schema: &mut crate::Typespace) -> crate::TypeReference {
        crate::reflectapi_type_empty(schema, "reflectapi::Empty", "Struct object with no fields")
    }
}

impl crate::Output for Empty {
    fn reflectapi_output_type(schema: &mut crate::Typespace) -> crate::TypeReference {
        crate::reflectapi_type_empty(schema, "reflectapi::Empty", "Struct object with no fields")
    }
}