pub struct Echo;Expand description
/echo — produce text output.
/echo(hello world) — primary arg as output.
/echo.text(hello world) — .text() method as output.
/echo (with piped input) — pass-through.
Trait Implementations§
Source§impl SlashCommand for Echo
impl SlashCommand for Echo
Auto Trait Implementations§
impl Freeze for Echo
impl RefUnwindSafe for Echo
impl Send for Echo
impl Sync for Echo
impl Unpin for Echo
impl UnsafeUnpin for Echo
impl UnwindSafe for Echo
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