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