pub struct SlackDispatchActionConfig {
pub trigger_actions_on: Option<Vec<SlackDispatchActionTrigger>>,
}Fields§
§trigger_actions_on: Option<Vec<SlackDispatchActionTrigger>>Implementations§
Source§impl SlackDispatchActionConfig
impl SlackDispatchActionConfig
pub fn new() -> Self
pub fn trigger_actions_on( &mut self, value: Vec<SlackDispatchActionTrigger>, ) -> &mut Self
pub fn reset_trigger_actions_on(&mut self) -> &mut Self
pub fn mopt_trigger_actions_on( &mut self, value: Option<Vec<SlackDispatchActionTrigger>>, ) -> &mut Self
pub fn with_trigger_actions_on( self, value: Vec<SlackDispatchActionTrigger>, ) -> Self
pub fn without_trigger_actions_on(self) -> Self
pub fn opt_trigger_actions_on( self, value: Option<Vec<SlackDispatchActionTrigger>>, ) -> Self
Trait Implementations§
Source§impl Clone for SlackDispatchActionConfig
impl Clone for SlackDispatchActionConfig
Source§fn clone(&self) -> SlackDispatchActionConfig
fn clone(&self) -> SlackDispatchActionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlackDispatchActionConfig
impl Debug for SlackDispatchActionConfig
Source§impl<'de> Deserialize<'de> for SlackDispatchActionConfig
impl<'de> Deserialize<'de> for SlackDispatchActionConfig
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 From<SlackDispatchActionConfigInit> for SlackDispatchActionConfig
impl From<SlackDispatchActionConfigInit> for SlackDispatchActionConfig
Source§fn from(value: SlackDispatchActionConfigInit) -> Self
fn from(value: SlackDispatchActionConfigInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackDispatchActionConfig
Auto Trait Implementations§
impl Freeze for SlackDispatchActionConfig
impl RefUnwindSafe for SlackDispatchActionConfig
impl Send for SlackDispatchActionConfig
impl Sync for SlackDispatchActionConfig
impl Unpin for SlackDispatchActionConfig
impl UnsafeUnpin for SlackDispatchActionConfig
impl UnwindSafe for SlackDispatchActionConfig
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