Enum slack_blocks::compose::confirm::ConfirmStyle [−][src]
pub enum ConfirmStyle { Danger, Primary, }
Expand description
The possible styles of the confirm button on your dialog.
Variants
Display the button with a red background on desktop, or red text on mobile.
Display the button with a green background on desktop, or blue text on mobile.
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 ConfirmStyle
impl Send for ConfirmStyle
impl Sync for ConfirmStyle
impl Unpin for ConfirmStyle
impl UnwindSafe for ConfirmStyle
Blanket Implementations
Mutably borrows from an owned value. Read more