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. Read more

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 PartialEq for SlackText
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Auto Trait Implementations

impl Send for SlackText

impl Sync for SlackText