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 is_openapi(&mut self) -> bool
fn is_openapi(&mut self) -> bool
是否开放接口
source§fn interface_type(&mut self) -> &'static str
fn interface_type(&mut self) -> &'static str
接口类型 btn api
fn notify( &mut self, msg: &str, caption: &str, mode: NotifyMode, timeout: usize, path: &str ) -> Response
source§fn ws_send(
&mut self,
api: &str,
mode: &str,
org_org: &str,
user_user: &str,
msg: JsonValue
) -> bool
fn ws_send( &mut self, api: &str, mode: &str, org_org: &str, user_user: &str, msg: JsonValue ) -> bool
获取共享消息通道 Read more
获取菜单信息 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 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