mpl-token-metadata 5.1.1

Metaplex Token Metadata SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This code was AUTOGENERATED using the kinobi library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun kinobi to update it.
//!
//! [https://github.com/metaplex-foundation/kinobi]
//!

use crate::generated::types::PayloadType;
use borsh::BorshDeserialize;
use borsh::BorshSerialize;
use std::collections::HashMap;

#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Payload {
    pub map: HashMap<String, PayloadType>,
}