ToSlackMarkdown

Trait ToSlackMarkdown 

Source
pub trait ToSlackMarkdown: Sized + Into<Mrkdwn> {
    // Provided method
    fn markdown(self) -> Mrkdwn { ... }
}
Expand description

Convenience trait to provide a little more meaning than a call to "foo".into(), and shorter than text::Mrkdwn::from("foo")

Provided Methods§

Source

fn markdown(self) -> Mrkdwn

Convert to slack plain_text

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§