[][src]Struct block_kit::composition::confirmation_dialog::ConfirmationDialog

pub struct ConfirmationDialog { /* fields omitted */ }

An object that defines a dialog that provides a confirmation step to any interactive element. This dialog will ask the user to confirm their action by offering a confirm and deny buttons.

Methods

impl ConfirmationDialog[src]

pub fn new(
    title: impl Into<PlainText>,
    text: Text,
    confirm: impl Into<PlainText>,
    deny: impl Into<PlainText>
) -> Self
[src]

Trait Implementations

impl Clone for ConfirmationDialog[src]

impl Debug for ConfirmationDialog[src]

impl Default for ConfirmationDialog[src]

impl Serialize for ConfirmationDialog[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.