linkbreakers 1.148.0

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.148.0
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// PlanFeature : - PLAN_FEATURE_UNSPECIFIED: Not set  - PLAN_FEATURE_BRAND_FREE_PAGES: Visitor pages carry no Linkbreakers branding
/// - PLAN_FEATURE_UNSPECIFIED: Not set  - PLAN_FEATURE_BRAND_FREE_PAGES: Visitor pages carry no Linkbreakers branding
#[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
    }
}