Struct br_plugin::action::ActionTemp
source · 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
获取菜单信息 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