twilio-rust-openapi 1.0.0

This is the public Twilio REST API.
Documentation
/*
 * Twilio - Api
 *
 * This is the public Twilio REST API.
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@twilio.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum AuthorizedConnectAppEnumPermission {
    #[serde(rename = "get-all")]
    GetAll,
    #[serde(rename = "post-all")]
    PostAll,

}

impl std::fmt::Display for AuthorizedConnectAppEnumPermission {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::GetAll => write!(f, "get-all"),
            Self::PostAll => write!(f, "post-all"),
        }
    }
}

impl Default for AuthorizedConnectAppEnumPermission {
    fn default() -> AuthorizedConnectAppEnumPermission {
        Self::GetAll
    }
}