Macro rbatis::make_table_field_map_btree
source · macro_rules! make_table_field_map_btree { ($vec_ref:expr,$($field_name:ident$(.)?)+) => { ... }; }
Expand description
Gets the HashMap collection of member attributes of the target Vec vec_ref: vec reference,field_name: the field name of the structure
need impl Clone or #[derive(Clone, Debug)]
for example:
struct SysUserRole{
pub role_id:String
}
let user_roles: Vec