twilio_openapi/models/
message_feedback_enum_outcome.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 MessageFeedbackEnumOutcome {
15    #[serde(rename = "confirmed")]
16    Confirmed,
17    #[serde(rename = "unconfirmed")]
18    Unconfirmed,
19
20}
21
22impl ToString for MessageFeedbackEnumOutcome {
23    fn to_string(&self) -> String {
24        match self {
25            Self::Confirmed => String::from("confirmed"),
26            Self::Unconfirmed => String::from("unconfirmed"),
27        }
28    }
29}
30
31impl Default for MessageFeedbackEnumOutcome {
32    fn default() -> MessageFeedbackEnumOutcome {
33        Self::Confirmed
34    }
35}
36
37
38
39