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