use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum PlanFeature {
#[serde(rename = "PLAN_FEATURE_UNSPECIFIED")]
PlanFeatureUnspecified,
#[serde(rename = "PLAN_FEATURE_BRAND_FREE_PAGES")]
PlanFeatureBrandFreePages,
}
impl std::fmt::Display for PlanFeature {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::PlanFeatureUnspecified => write!(f, "PLAN_FEATURE_UNSPECIFIED"),
Self::PlanFeatureBrandFreePages => write!(f, "PLAN_FEATURE_BRAND_FREE_PAGES"),
}
}
}
impl Default for PlanFeature {
fn default() -> PlanFeature {
Self::PlanFeatureUnspecified
}
}