Derive Macro ScryptoDecode
Source #[derive(ScryptoDecode)]
{
#[sbor]
}
Expand description
Derives code for decoding a struct or enum with Scrypto value model.
§Example
ⓘ#[derive(ScryptoDecode)]
pub struct MyStruct {
pub field_1: u32,
pub field_2: String,
}