pub struct DispatchActionConfig {
pub trigger_actions_on: Vec<TriggerAction>,
}Expand description
Configures when typing in an input dispatches a block_actions payload. https://docs.slack.dev/reference/block-kit/composition-objects/dispatch-action-configuration-object
Fields§
§trigger_actions_on: Vec<TriggerAction>Implementations§
Source§impl DispatchActionConfig
impl DispatchActionConfig
pub fn new() -> Self
pub fn trigger_actions_on(self, trigger_actions_on: Vec<TriggerAction>) -> Self
Trait Implementations§
Source§impl Clone for DispatchActionConfig
impl Clone for DispatchActionConfig
Source§impl Debug for DispatchActionConfig
impl Debug for DispatchActionConfig
Source§impl Default for DispatchActionConfig
impl Default for DispatchActionConfig
Source§impl<'de> Deserialize<'de> for DispatchActionConfig
impl<'de> Deserialize<'de> for DispatchActionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DispatchActionConfig
impl PartialEq for DispatchActionConfig
Source§impl Serialize for DispatchActionConfig
impl Serialize for DispatchActionConfig
impl StructuralPartialEq for DispatchActionConfig
Auto Trait Implementations§
impl Freeze for DispatchActionConfig
impl RefUnwindSafe for DispatchActionConfig
impl Send for DispatchActionConfig
impl Sync for DispatchActionConfig
impl Unpin for DispatchActionConfig
impl UnsafeUnpin for DispatchActionConfig
impl UnwindSafe for DispatchActionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more