Attribute Macro component_deserialize

Source
#[component_deserialize]
Expand description

This macro is used to defined a struct as a BOLT component and automatically implements the ComponentDeserialize and AccountDeserialize traits for the struct.

#[component] pub struct Position { pub x: i64, pub y: i64, pub z: i64, }