fireblocks-sdk 2026.3.27

Rust implementation of the Fireblocks SDK
Documentation
// Fireblocks API
//
// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.  - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
//
// The version of the OpenAPI document: 1.8.0
// Contact: developers@fireblocks.com
// Generated by: https://openapi-generator.tech

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

/// AccountType : Account type
/// Account type
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum AccountType {
    #[serde(rename = "EXCHANGE_ACCOUNT")]
    ExchangeAccount,
    #[serde(rename = "UNMANAGED_WALLET")]
    UnmanagedWallet,
    #[serde(rename = "VAULT_ACCOUNT")]
    VaultAccount,
    #[serde(rename = "NETWORK_CONNECTION")]
    NetworkConnection,
    #[serde(rename = "FIAT_ACCOUNT")]
    FiatAccount,
}

impl std::fmt::Display for AccountType {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::ExchangeAccount => write!(f, "EXCHANGE_ACCOUNT"),
            Self::UnmanagedWallet => write!(f, "UNMANAGED_WALLET"),
            Self::VaultAccount => write!(f, "VAULT_ACCOUNT"),
            Self::NetworkConnection => write!(f, "NETWORK_CONNECTION"),
            Self::FiatAccount => write!(f, "FIAT_ACCOUNT"),
        }
    }
}

impl Default for AccountType {
    fn default() -> AccountType {
        Self::ExchangeAccount
    }
}