nautobot_openapi/models/capabilities_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 CapabilitiesEnum {
14 #[serde(rename = "wireless")]
15 Wireless,
16}
17
18impl ToString for CapabilitiesEnum {
19 fn to_string(&self) -> String {
20 match self {
21 Self::Wireless => String::from("wireless"),
22 }
23 }
24}
25
26impl Default for CapabilitiesEnum {
27 fn default() -> CapabilitiesEnum {
28 Self::Wireless
29 }
30}