pub struct ActionTemp {
pub model: ModelTemp,
}Expand description
模型模版
Fields§
§model: ModelTempTrait Implementations§
Source§impl Action for ActionTemp
impl Action for ActionTemp
fn index(&mut self, _header: JsonValue, _request: JsonValue) -> Response
作者
菜单排序
Source§fn interface_type(&mut self) -> InterfaceType
fn interface_type(&mut self) -> InterfaceType
接口类型 btn api menu
Source§fn get(
&mut self,
header: JsonValue,
request: JsonValue,
) -> Result<JsonValue, String>
fn get( &mut self, header: JsonValue, request: JsonValue, ) -> Result<JsonValue, String>
执行参数入口
fn notify(&mut self, msg: &str, btn_name: &str, path: &str) -> Response
Source§fn download_delete_dir(&mut self, filename: &str) -> Response
fn download_delete_dir(&mut self, filename: &str) -> Response
下载并删除文件所在目录
获取菜单信息 Read more
fn btn_info_data(&mut self, title: &str) -> JsonValue
Source§fn btn_info(
&mut self,
title: &str,
mode: BtnMode,
color: BtnColor,
match_condition: Vec<Vec<&str>>,
) -> JsonValue
fn btn_info( &mut self, title: &str, mode: BtnMode, color: BtnColor, match_condition: Vec<Vec<&str>>, ) -> JsonValue
获取按钮信息 Read more
Auto Trait Implementations§
impl Freeze for ActionTemp
impl RefUnwindSafe for ActionTemp
impl Send for ActionTemp
impl Sync for ActionTemp
impl Unpin for ActionTemp
impl UnwindSafe for ActionTemp
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