TypeInfo

Derive Macro TypeInfo 

Source
#[derive(TypeInfo)]
Expand description

Derive-able implementation of TypeInfo and TypeInfoDynamic

Accepts both enum’s and struct’s

Note: That if any field type is compound (non-primitive), then you must derive TypeInfo for those types too