Struct sonicbot_matrix::SonicBotMessageModule
source · [−]pub struct SonicBotMessageModule<'a> {
pub name: String,
pub essential: bool,
pub main: Box<dyn Fn(MessageArgs<'a>) -> Vec<Instructions>>,
pub help: String,
}Fields
name: Stringessential: boolmain: Box<dyn Fn(MessageArgs<'a>) -> Vec<Instructions>>help: StringAuto Trait Implementations
impl<'a> !RefUnwindSafe for SonicBotMessageModule<'a>
impl<'a> !Send for SonicBotMessageModule<'a>
impl<'a> !Sync for SonicBotMessageModule<'a>
impl<'a> Unpin for SonicBotMessageModule<'a>
impl<'a> !UnwindSafe for SonicBotMessageModule<'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