twilio_rust_openapi/models/
conference_enum_status.rs

1/*
2 * Twilio - Api
3 *
4 * This is the public Twilio REST API.
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * Contact: support@twilio.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// 
15#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
16pub enum ConferenceEnumStatus {
17    #[serde(rename = "init")]
18    Init,
19    #[serde(rename = "in-progress")]
20    InProgress,
21    #[serde(rename = "completed")]
22    Completed,
23
24}
25
26impl std::fmt::Display for ConferenceEnumStatus {
27    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
28        match self {
29            Self::Init => write!(f, "init"),
30            Self::InProgress => write!(f, "in-progress"),
31            Self::Completed => write!(f, "completed"),
32        }
33    }
34}
35
36impl Default for ConferenceEnumStatus {
37    fn default() -> ConferenceEnumStatus {
38        Self::Init
39    }
40}
41