Struct slack_hook::SlackText [] [src]

pub struct SlackText(_);

Representation of any text sent through slack the text must be processed to escape specific characters

Methods

impl SlackText
[src]

fn new(text: &str) -> SlackText

Construct slack text

Trait Implementations

impl Debug for SlackText
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Encodable for SlackText
[src]

fn encode<S: Encoder>(&self, encoder: &mut S) -> Result<(), S::Error>