Macro rbatis::impl_field_name_method [−][src]
macro_rules! impl_field_name_method {
($target : ty { $($field_name : ident $(,) ?) + }) => { ... };
}
Expand description
will create pub fn field_name()->&str method
for example:
#crud_table
#[derive(Clone, Debug)]
pub struct BizActivity {
pub id: Option
println!(“{}”,BizActivity::delete_flag());