twilio_openapi/models/
transcription_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.37.3
7 * Contact: support@twilio.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 TranscriptionEnumStatus {
15    #[serde(rename = "in-progress")]
16    InProgress,
17    #[serde(rename = "completed")]
18    Completed,
19    #[serde(rename = "failed")]
20    Failed,
21
22}
23
24impl ToString for TranscriptionEnumStatus {
25    fn to_string(&self) -> String {
26        match self {
27            Self::InProgress => String::from("in-progress"),
28            Self::Completed => String::from("completed"),
29            Self::Failed => String::from("failed"),
30        }
31    }
32}
33
34impl Default for TranscriptionEnumStatus {
35    fn default() -> TranscriptionEnumStatus {
36        Self::InProgress
37    }
38}
39
40
41
42