Enum slack_hook3::SlackColor [−][src]
pub enum SlackColor { Good, Warning, Danger, }
Expand description
Default slack colors built-in to the API See: https://api.slack.com/docs/attachments
Variants
green
orange
red
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SlackColor
impl Send for SlackColor
impl Sync for SlackColor
impl Unpin for SlackColor
impl UnwindSafe for SlackColor
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more