print_nanny_client/models/
device_state_command_enum.rs

1/*
2 * print-nanny-client
3 *
4 * Official API client library for print-nanny.com
5 *
6 * The version of the OpenAPI document: 0.0.0
7 * Contact: leigh@print-nanny.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12/// 
13#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
14pub enum DeviceStateCommandEnum {
15    #[serde(rename = "printnanny update")]
16    PrintnannyUpdate,
17
18}
19
20impl ToString for DeviceStateCommandEnum {
21    fn to_string(&self) -> String {
22        match self {
23            Self::PrintnannyUpdate => String::from("printnanny update"),
24        }
25    }
26}
27
28impl Default for DeviceStateCommandEnum {
29    fn default() -> DeviceStateCommandEnum {
30        Self::PrintnannyUpdate
31    }
32}
33
34
35
36