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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SlackColor
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SlackColor
[src]

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

This method tests for !=.

impl Eq for SlackColor
[src]

impl Display for SlackColor
[src]

Formats the value using the given formatter. Read more

impl AsRef<str> for SlackColor
[src]

Performs the conversion.

impl From<SlackColor> for HexColor
[src]

Performs the conversion.

impl TryFrom<SlackColor> for HexColor
[src]

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

impl Send for SlackColor

impl Sync for SlackColor