Enum slack_blocks::elems::text_input::ActionTrigger [−][src]
pub enum ActionTrigger { OnEnterPressed, OnCharacterEntered, }
Expand description
Interaction types that you would like to receive a block_actions
payload π for.
Variants
Payload is dispatched when user presses the enter key while the input is in focus.
Hint text will appear underneath the input explaining to the user to press enter to submit.
Payload is dispatched when a character is entered (or removed) in the input.
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 ActionTrigger
impl Send for ActionTrigger
impl Sync for ActionTrigger
impl Unpin for ActionTrigger
impl UnwindSafe for ActionTrigger
Blanket Implementations
Mutably borrows from an owned value. Read more