Enum slack_blocks::elems::button::Style [−][src]
pub enum Style { Primary, Danger, }
Expand description
Style to optionally decorate buttons with
Variants
Gives buttons a green outline and text, ideal for affirmation or confirmation actions. This should only be used for one button within a set.
Gives buttons a red outline and text, and should be used when the action is destructive. Use this even more sparingly than Primary.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Style
impl UnwindSafe for Style
Blanket Implementations
Mutably borrows from an owned value. Read more