ethereal_rust_sdk 0.1.22

Trading client for Ethereal exchange
Documentation
/*
 * Ethereal Exchange API
 *
 * Ethereal HTTP API for real-time trading, order management, and market data access.
 *
 * The version of the OpenAPI document: 0.1.0
 *
 * Generated by: https://openapi-generator.tech
 */

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

/// NotFoundDtoErrorEnum : Extracted enum for NotFoundDtoErrorEnum
/// Extracted enum for NotFoundDtoErrorEnum
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum NotFoundDtoErrorEnum {
    #[serde(rename = "Not Found")]
    NotFound,
}

impl std::fmt::Display for NotFoundDtoErrorEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::NotFound => write!(f, "Not Found"),
        }
    }
}

impl Default for NotFoundDtoErrorEnum {
    fn default() -> NotFoundDtoErrorEnum {
        Self::NotFound
    }
}