nautobot_openapi/models/null_enum.rs
1/*
2 * API Documentation
3 *
4 * Source of truth and network automation platform
5 *
6 * The version of the OpenAPI document: 3.1.0 (3.1)
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11///
12#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
13pub enum NullEnum {
14 #[serde(rename = "null")]
15 Null,
16}
17
18impl ToString for NullEnum {
19 fn to_string(&self) -> String {
20 match self {
21 Self::Null => String::from("null"),
22 }
23 }
24}
25
26impl Default for NullEnum {
27 fn default() -> NullEnum {
28 Self::Null
29 }
30}