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
impl Clone for ActionTrigger
[src]
impl Clone for ActionTrigger
[src]fn clone(&self) -> ActionTrigger
[src]
fn clone(&self) -> ActionTrigger
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ActionTrigger
[src]
impl Debug for ActionTrigger
[src]impl<'de> Deserialize<'de> for ActionTrigger
[src]
impl<'de> Deserialize<'de> for ActionTrigger
[src]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
impl Hash for ActionTrigger
[src]
impl Hash for ActionTrigger
[src]impl PartialEq<ActionTrigger> for ActionTrigger
[src]
impl PartialEq<ActionTrigger> for ActionTrigger
[src]impl Serialize for ActionTrigger
[src]
impl Serialize for ActionTrigger
[src]impl Copy for ActionTrigger
[src]
impl StructuralPartialEq for ActionTrigger
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]π¬ This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,