cryptoapis/models/list_deposit_addresses_ri_non_fungible_tokens.rs
1/*
2 * CryptoAPIs
3 *
4 * Crypto APIs is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.
5 *
6 * The version of the OpenAPI document: 2021-03-20
7 * Contact: developers@cryptoapis.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ListDepositAddressesRiNonFungibleTokens {
16 /// Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract.
17 #[serde(rename = "identifier")]
18 pub identifier: String,
19 /// Defines the token's name as a string.
20 #[serde(rename = "name")]
21 pub name: String,
22 /// Defines the symbol of the non-fungible tokens.
23 #[serde(rename = "symbol")]
24 pub symbol: String,
25 /// Represents tokens' unique identifier.
26 #[serde(rename = "tokenId")]
27 pub token_id: String,
28 /// Defines the specific token type.
29 #[serde(rename = "type")]
30 pub _type: String,
31}
32
33impl ListDepositAddressesRiNonFungibleTokens {
34 pub fn new(identifier: String, name: String, symbol: String, token_id: String, _type: String) -> ListDepositAddressesRiNonFungibleTokens {
35 ListDepositAddressesRiNonFungibleTokens {
36 identifier,
37 name,
38 symbol,
39 token_id,
40 _type,
41 }
42 }
43}
44
45