#[derive(NonFungibleData)]
{
    // Attributes available to this derive:
    #[scrypto]
}
Expand description

Derive code that describe a non-fungible data structure.

Example

use scrypto::prelude::*;

#[derive(NonFungibleData)]
pub struct AwesomeNonFungible {
    pub field_1: u32,
    #[scrypto(mutable)]
    pub field_2: String,
}