Derive Macro radix_engine::types::ManifestEncode

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

Derives code for encoding a struct or enum with Manifest value model.

§Example

use manifest::prelude::*;

#[derive(ManifestEncode)]
pub struct MyStruct {
    pub field_1: u32,
    pub field_2: String,
}