eve_esi 0.4.9

Thread-safe, asynchronous client for EVE Online's ESI & OAuth2
Documentation
//! # EVE ESI Clone Enums
//!
//! Provides clone-related enums for EVE Online
//!
//! ## ESI Documentation
//! - <https://developers.eveonline.com/api-explorer#>
//!
//! ## Enums
//!
//! | Enum            | Description                                       |
//! | --------------- | ------------------------------------------------- |
//! | [`ContactType`] | Represents the contact type for the contact entry |

use serde::{Deserialize, Serialize};

/// Represents the contact type for the contact entry
///
/// # Documentation
/// - <https://developers.eveonline.com/api-explorer#/schemas/AlliancesAllianceIdContactsGet>
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
pub enum ContactType {
    /// Contact type is a character
    #[serde(rename = "character")]
    Character,
    /// Contact type is a corporation
    #[serde(rename = "corporation")]
    Corporation,
    /// Contact type is an alliance
    #[serde(rename = "alliance")]
    Alliance,
    /// Contact type is an NPC faction
    #[serde(rename = "faction")]
    Faction,
}