pub struct DispatchActionConfigurationBuilder { /* private fields */ }Expand description
Builder for DispatchActionConfiguration object.
Implementations§
Source§impl DispatchActionConfigurationBuilder
impl DispatchActionConfigurationBuilder
Sourcepub fn get_trigger_actions_on(&self) -> Option<&[TriggerAction]>
pub fn get_trigger_actions_on(&self) -> Option<&[TriggerAction]>
get trigger_actions_on field value.
Sourcepub fn set_trigger_actions_on(
self,
value: Option<impl Into<Vec<TriggerAction>>>,
) -> Self
pub fn set_trigger_actions_on( self, value: Option<impl Into<Vec<TriggerAction>>>, ) -> Self
set trigger_actions_on field value.
Sourcepub fn trigger_actions_on(self, value: impl Into<Vec<TriggerAction>>) -> Self
pub fn trigger_actions_on(self, value: impl Into<Vec<TriggerAction>>) -> Self
set trigger_actions_on field value.
Sourcepub fn trigger_action(self, value: impl Into<TriggerAction>) -> Self
pub fn trigger_action(self, value: impl Into<TriggerAction>) -> Self
push list element to trigger_actions_on field.
Sourcepub fn build(self) -> Result<DispatchActionConfiguration, ValidationErrors>
pub fn build(self) -> Result<DispatchActionConfiguration, ValidationErrors>
build DispatchActionConfiguration object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DispatchActionConfigurationBuilder
impl RefUnwindSafe for DispatchActionConfigurationBuilder
impl Send for DispatchActionConfigurationBuilder
impl Sync for DispatchActionConfigurationBuilder
impl Unpin for DispatchActionConfigurationBuilder
impl UnsafeUnpin for DispatchActionConfigurationBuilder
impl UnwindSafe for DispatchActionConfigurationBuilder
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