pub trait ActionDeriv:
Sealed
+ Serialize
+ DeserializeOwned
+ 'static {
const TYPE_CODE: TypeCode;
const SCHEMA_VERSION: u32;
}Expand description
Derive-emitted half of Action. Carries the constants and the
serde bounds that Action’s blanket impl needs to drive postcard.
#[derive(arkhe_macros::ArkheAction)] is the only sanctioned path.
Required Associated Constants§
Sourceconst SCHEMA_VERSION: u32
const SCHEMA_VERSION: u32
Version tag for canonical bytes. Bumping invalidates older serialized bodies.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".