brevo-rust 1.0.0

Official Rust SDK for the Brevo API.
Documentation
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
pub enum Environment {
    #[serde(rename = "default")]
    Default,
}
impl Environment {
    pub fn url(&self) -> &'static str {
        match self {
            Self::Default => "https://api.brevo.com/v3",
        }
    }
}
impl Default for Environment {
    fn default() -> Self {
        Self::Default
    }
}