Enum slack_hook::SlackTextContent[][src]

pub enum SlackTextContent {
    Text(SlackText),
    Link(SlackLink),
    User(SlackUserLink),
}

Enum used for constructing a text field having both SlackText(s) and SlackLink(s). The variants should be used together in a Vec on any function having a Into<SlackText> trait bound. The combined text will be space-separated.

Variants

Text that will be escaped via slack api rules

Link

User Link

Trait Implementations

impl Debug for SlackTextContent
[src]

Formats the value using the given formatter. Read more

impl Clone for SlackTextContent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SlackTextContent
[src]

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

This method tests for !=.

Auto Trait Implementations