Macro sqlx_model::model_table_ref_define[][src]

macro_rules! model_table_ref_define {
    ($self_var : ident, $struct_name : ident, $option_struct_name : ident,
 { $($name : ident : $type : ty), + }) => { ... };
    ($struct_name : ident, $option_struct_name : ident,
 { $($name : ident : $type : ty), + $(,) ? }) => { ... };
}
Expand description

对指定结构体实现名为 $option_struct_name 的可选引用struct @param $struct_name 结构体名 @param $option_struct_name 更改值临时存储的结构体名 @param {$name:$type} 字段名列表:类型列表