openxapi-binance 0.1.2

Rust client for Binance API
Documentation
/*
 * Binance Spot API
 *
 * OpenAPI specification for Binance exchange - Spot API
 *
 * The version of the OpenAPI document: 0.1.0
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum SpotGetTickerPriceV3Resp {
    Array(Vec<models::SpotGetTickerPriceV3RespItem>),
    SpotGetTickerPriceV3RespItem(Box<models::SpotGetTickerPriceV3RespItem>),
}

impl Default for SpotGetTickerPriceV3Resp {
    fn default() -> Self {
        Self::Array(Default::default())
    }
}