Macro hdk::app_entry[][src]

macro_rules! app_entry {
    ($t : ident) => { ... };
}
Expand description

Implements conversion traits to allow a struct to be handled as an app entry. If you have some need to implement custom serialization logic or metadata injection you can do so by implementing these traits manually instead.

This requires that TryFrom and TryInto [ derive@SerializedBytes ] is implemented for the entry type, which implies that serde::Serialize and serde::Deserialize is also implemented. These can all be derived and there is an attribute macro that both does the default defines.