twilio_openapi/models/
call_recording_enum_status.rs1#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
14pub enum CallRecordingEnumStatus {
15 #[serde(rename = "in-progress")]
16 InProgress,
17 #[serde(rename = "paused")]
18 Paused,
19 #[serde(rename = "stopped")]
20 Stopped,
21 #[serde(rename = "processing")]
22 Processing,
23 #[serde(rename = "completed")]
24 Completed,
25 #[serde(rename = "absent")]
26 Absent,
27
28}
29
30impl ToString for CallRecordingEnumStatus {
31 fn to_string(&self) -> String {
32 match self {
33 Self::InProgress => String::from("in-progress"),
34 Self::Paused => String::from("paused"),
35 Self::Stopped => String::from("stopped"),
36 Self::Processing => String::from("processing"),
37 Self::Completed => String::from("completed"),
38 Self::Absent => String::from("absent"),
39 }
40 }
41}
42
43impl Default for CallRecordingEnumStatus {
44 fn default() -> CallRecordingEnumStatus {
45 Self::InProgress
46 }
47}
48
49
50
51