Struct mpl_token_metadata::state::AssetData
source · #[repr(C)]pub struct AssetData {
pub name: String,
pub symbol: String,
pub uri: String,
pub seller_fee_basis_points: u16,
pub creators: Option<Vec<Creator>>,
pub primary_sale_happened: bool,
pub is_mutable: bool,
pub token_standard: TokenStandard,
pub collection: Option<Collection>,
pub uses: Option<Uses>,
pub collection_details: Option<CollectionDetails>,
pub rule_set: Option<Pubkey>,
}
Expand description
Data representation of an asset.
Fields§
§name: String
The name of the asset.
symbol: String
The symbol for the asset.
uri: String
URI pointing to JSON representing the asset.
seller_fee_basis_points: u16
Royalty basis points that goes to creators in secondary sales (0-10000).
creators: Option<Vec<Creator>>
Array of creators.
primary_sale_happened: bool
§is_mutable: bool
§token_standard: TokenStandard
Type of the token.
collection: Option<Collection>
Collection information.
uses: Option<Uses>
Uses information.
collection_details: Option<CollectionDetails>
Collection item details.
rule_set: Option<Pubkey>
Programmable rule set for the asset.