pub struct ModelTemp {
pub addon: AddonTemp,
}Expand description
模型模版
Fields§
§addon: AddonTempTrait Implementations§
source§impl Model for ModelTemp
impl Model for ModelTemp
source§fn primary_key(&mut self) -> &'static str
fn primary_key(&mut self) -> &'static str
主键
source§fn table_fields(&mut self) -> JsonValue
fn table_fields(&mut self) -> JsonValue
前端搜索字段
source§fn btn_data(
&mut self,
title: &str,
action: Box<dyn Action>,
mode: BtnMode,
color: BtnColor,
match_condition: Vec<Vec<&str>>
) -> JsonValue
fn btn_data( &mut self, title: &str, action: Box<dyn Action>, mode: BtnMode, color: BtnColor, match_condition: Vec<Vec<&str>> ) -> JsonValue
前端-按钮数据
source§fn table_select_fields(&mut self) -> JsonValue
fn table_select_fields(&mut self) -> JsonValue
前端 关联搜索字段
source§fn dict_select_fields(&mut self) -> JsonValue
fn dict_select_fields(&mut self) -> JsonValue
前端 关联字典搜索字段
Auto Trait Implementations§
impl RefUnwindSafe for ModelTemp
impl Send for ModelTemp
impl Sync for ModelTemp
impl Unpin for ModelTemp
impl UnwindSafe for ModelTemp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more