Struct slack_hook2::HexColor
source · pub struct HexColor(_);
Expand description
A HexColor
String
can be one of:
String
s:good
,warning
,danger
- Any valid hex color code: e.g.
#b13d41
or#000
.
Implementations§
Trait Implementations§
source§impl From<SlackColor> for HexColor
impl From<SlackColor> for HexColor
source§fn from(color: SlackColor) -> HexColor
fn from(color: SlackColor) -> HexColor
Converts to this type from the input type.