Trait slack_blocks::text::ToSlackPlaintext[][src]

pub trait ToSlackPlaintext: Sized + Into<Plain> {
    fn plaintext(self) -> Plain { ... }
}
Expand description

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

Provided methods

fn plaintext(self) -> Plain[src]

Convert to slack plain_text

Implementors