Enum slack_hook::SlackColor [] [src]

pub enum SlackColor {
    Good,
    Warning,
    Danger,
}

Default slack colors built-in to the API See: https://api.slack.com/docs/attachments

Variants

green

orange

red

Trait Implementations

impl Copy for SlackColor
[src]

impl Clone for SlackColor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SlackColor
[src]

[src]

Formats the value using the given formatter.

impl Display for SlackColor
[src]

[src]

Formats the value using the given formatter. Read more

impl AsRef<str> for SlackColor
[src]

[src]

Performs the conversion.