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]

Construct slack text with escaping Escape &, <, and > in any slack text https://api.slack.com/docs/formatting

Trait Implementations

impl Debug for SlackText
[src]

Formats the value using the given formatter.

impl Default for SlackText
[src]

Returns the "default value" for a type. Read more

impl Clone for SlackText
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> From<&'a str> for SlackText
[src]

Performs the conversion.

impl<'a> From<String> for SlackText
[src]

Performs the conversion.

impl<'a> From<&'a [SlackTextContent]> for SlackText
[src]

Performs the conversion.

impl Display for SlackText
[src]

Formats the value using the given formatter. Read more