binance-sdk 70.1.1

This is a lightweight library that works as a connector to the Binance public API.
Documentation
/*
 * Stocks Trading REST API
 *
 * REST APIs for Binance Stocks Trading. All endpoints under `/sapi/v1/equity/_*`.
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

#![allow(unused_imports)]
use crate::stocks::rest_api::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TokenizedAssetsResponseInner {
    /// Tokenized asset code, e.g. `AAPLB`.
    #[serde(rename = "assetCode", skip_serializing_if = "Option::is_none")]
    pub asset_code: Option<String>,
    /// Human-readable display name of the tokenized asset.
    #[serde(rename = "assetName", skip_serializing_if = "Option::is_none")]
    pub asset_name: Option<String>,
    /// Underlying US-equity ticker, e.g. `AAPL`. Use this when calling `/tokenized/mint` or `/tokenized/redeem`.
    #[serde(
        rename = "underlyingEquitySymbol",
        skip_serializing_if = "Option::is_none"
    )]
    pub underlying_equity_symbol: Option<String>,
    /// Conversion multiplier between the underlying equity and the tokenized asset.
    #[serde(rename = "multiplier", skip_serializing_if = "Option::is_none")]
    pub multiplier: Option<String>,
    /// Whether the multiplier is currently valid and applicable.
    #[serde(rename = "multiplierValid", skip_serializing_if = "Option::is_none")]
    pub multiplier_valid: Option<bool>,
}

impl TokenizedAssetsResponseInner {
    #[must_use]
    pub fn new() -> TokenizedAssetsResponseInner {
        TokenizedAssetsResponseInner {
            asset_code: None,
            asset_name: None,
            underlying_equity_symbol: None,
            multiplier: None,
            multiplier_valid: None,
        }
    }
}