[−][src]Struct cqrs_builder::AppJson
Methods
impl AppJson
[src]
pub fn new(appid: &str) -> AppJson
[src]
pub fn remove_auth(&mut self, auth: usize) -> &mut Self
[src]
pub fn no_default_auth(&mut self) -> &mut Self
[src]
pub fn add_auth(&mut self, auth: usize) -> &mut Self
[src]
pub fn add_menu(&mut self, name: &str, func_name: &str) -> &mut Self
[src]
pub fn add_event(
&mut self,
_type: usize,
name: &str,
priority: usize,
func_name: &str
) -> &mut Self
[src]
&mut self,
_type: usize,
name: &str,
priority: usize,
func_name: &str
) -> &mut Self
事件类型,名字,优先度,函数名字。具体查看酷q文档
pub fn no_default_event(&mut self) -> &mut Self
[src]
pub fn remove_event(&mut self, _type: usize, priority: usize) -> &mut Self
[src]
删除指定类型,优先度的事件。 注意: 若删除事件,sdk里对应的事件回调将不会被执行。
pub fn finish(&mut self)
[src]
impl AppJson
[src]
pub fn ret(&mut self, ret: usize) -> &mut Self
[src]
pub fn apiver(&mut self, apiver: usize) -> &mut Self
[src]
pub fn name(&mut self, name: String) -> &mut Self
[src]
pub fn version(&mut self, version: String) -> &mut Self
[src]
pub fn version_id(&mut self, version_id: usize) -> &mut Self
[src]
pub fn author(&mut self, author: String) -> &mut Self
[src]
pub fn description(&mut self, description: String) -> &mut Self
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AppJson
impl Send for AppJson
impl Sync for AppJson
impl Unpin for AppJson
impl UnwindSafe for AppJson
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,