macro_rules! derive_from_json_struct {
($struct_name:ident, $field_type:ty) => { ... };
}
Expand description
Defines struct with a single pb field that derives FromJsonQueryResult
, it will helps to map json value stored in database to Pb struct.