pub struct SlackWorkflowTrigger {
pub url: Url,
pub customizable_input_parameters: Option<Vec<SlackWorkflowTriggerInputParameter>>,
}Fields§
§url: Url§customizable_input_parameters: Option<Vec<SlackWorkflowTriggerInputParameter>>Implementations§
Source§impl SlackWorkflowTrigger
impl SlackWorkflowTrigger
Sourcepub fn new(url: Url) -> Self
pub fn new(url: Url) -> Self
Creates a new SlackWorkflowTrigger from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn customizable_input_parameters(
&mut self,
value: Vec<SlackWorkflowTriggerInputParameter>,
) -> &mut Self
pub fn customizable_input_parameters( &mut self, value: Vec<SlackWorkflowTriggerInputParameter>, ) -> &mut Self
Sets customizable_input_parameters to Some(value).
Sourcepub fn reset_customizable_input_parameters(&mut self) -> &mut Self
pub fn reset_customizable_input_parameters(&mut self) -> &mut Self
Sets customizable_input_parameters to None.
Sourcepub fn mopt_customizable_input_parameters(
&mut self,
value: Option<Vec<SlackWorkflowTriggerInputParameter>>,
) -> &mut Self
pub fn mopt_customizable_input_parameters( &mut self, value: Option<Vec<SlackWorkflowTriggerInputParameter>>, ) -> &mut Self
Sets customizable_input_parameters to the given Option.
Sourcepub fn with_customizable_input_parameters(
self,
value: Vec<SlackWorkflowTriggerInputParameter>,
) -> Self
pub fn with_customizable_input_parameters( self, value: Vec<SlackWorkflowTriggerInputParameter>, ) -> Self
Returns self with customizable_input_parameters set to Some(value).
Sourcepub fn without_customizable_input_parameters(self) -> Self
pub fn without_customizable_input_parameters(self) -> Self
Returns self with customizable_input_parameters set to None.
Sourcepub fn opt_customizable_input_parameters(
self,
value: Option<Vec<SlackWorkflowTriggerInputParameter>>,
) -> Self
pub fn opt_customizable_input_parameters( self, value: Option<Vec<SlackWorkflowTriggerInputParameter>>, ) -> Self
Returns self with customizable_input_parameters set to the given Option.
Trait Implementations§
Source§impl Clone for SlackWorkflowTrigger
impl Clone for SlackWorkflowTrigger
Source§impl Debug for SlackWorkflowTrigger
impl Debug for SlackWorkflowTrigger
Source§impl<'de> Deserialize<'de> for SlackWorkflowTrigger
impl<'de> Deserialize<'de> for SlackWorkflowTrigger
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<SlackWorkflowTriggerInit> for SlackWorkflowTrigger
impl From<SlackWorkflowTriggerInit> for SlackWorkflowTrigger
Source§fn from(value: SlackWorkflowTriggerInit) -> Self
fn from(value: SlackWorkflowTriggerInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackWorkflowTrigger
impl PartialEq for SlackWorkflowTrigger
Source§impl Serialize for SlackWorkflowTrigger
impl Serialize for SlackWorkflowTrigger
impl StructuralPartialEq for SlackWorkflowTrigger
Auto Trait Implementations§
impl Freeze for SlackWorkflowTrigger
impl RefUnwindSafe for SlackWorkflowTrigger
impl Send for SlackWorkflowTrigger
impl Sync for SlackWorkflowTrigger
impl Unpin for SlackWorkflowTrigger
impl UnsafeUnpin for SlackWorkflowTrigger
impl UnwindSafe for SlackWorkflowTrigger
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