Derive Macro StablePayloadInit
#[derive(StablePayloadInit)]
{
// Attributes available to this derive:
#[stable_payload]
#[stable_payload_init]
}
Expand description
Derives for stable payload types.
Derives StablePayloadInit: a typestate initializer that writes the type into uninitialized storage field by field.