twilio_rust_openapi/models/
dependent_phone_number_enum_emergency_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 DependentPhoneNumberEnumEmergencyStatus {
17    #[serde(rename = "Active")]
18    Active,
19    #[serde(rename = "Inactive")]
20    Inactive,
21
22}
23
24impl std::fmt::Display for DependentPhoneNumberEnumEmergencyStatus {
25    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
26        match self {
27            Self::Active => write!(f, "Active"),
28            Self::Inactive => write!(f, "Inactive"),
29        }
30    }
31}
32
33impl Default for DependentPhoneNumberEnumEmergencyStatus {
34    fn default() -> DependentPhoneNumberEnumEmergencyStatus {
35        Self::Active
36    }
37}
38