ManifestDecode

Derive Macro ManifestDecode 

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

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

§Example

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