Struct sonicbot_matrix::SonicBotEventModule
source · [−]pub struct SonicBotEventModule<'a> {
pub name: String,
pub essential: bool,
pub main: Box<dyn Fn(EventArgs<'a>) -> Vec<Instructions>>,
/* private fields */
}Fields
name: Stringessential: boolmain: Box<dyn Fn(EventArgs<'a>) -> Vec<Instructions>>Auto Trait Implementations
impl<'a> !RefUnwindSafe for SonicBotEventModule<'a>
impl<'a> !Send for SonicBotEventModule<'a>
impl<'a> !Sync for SonicBotEventModule<'a>
impl<'a> Unpin for SonicBotEventModule<'a>
impl<'a> !UnwindSafe for SonicBotEventModule<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more