pub struct SlackBlockWorkflowButtonElementInit {
pub action_id: SlackActionId,
pub text: SlackBlockPlainTextOnly,
pub workflow: SlackWorkflow,
}Expand description
Required fields of SlackBlockWorkflowButtonElement; convert with SlackBlockWorkflowButtonElement::from or .into().
Fields§
§action_id: SlackActionIdValue for the action_id field of SlackBlockWorkflowButtonElement.
text: SlackBlockPlainTextOnlyValue for the text field of SlackBlockWorkflowButtonElement.
workflow: SlackWorkflowValue for the workflow field of SlackBlockWorkflowButtonElement.
Trait Implementations§
Source§impl From<SlackBlockWorkflowButtonElementInit> for SlackBlockWorkflowButtonElement
impl From<SlackBlockWorkflowButtonElementInit> for SlackBlockWorkflowButtonElement
Source§fn from(value: SlackBlockWorkflowButtonElementInit) -> Self
fn from(value: SlackBlockWorkflowButtonElementInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackBlockWorkflowButtonElementInit
impl RefUnwindSafe for SlackBlockWorkflowButtonElementInit
impl Send for SlackBlockWorkflowButtonElementInit
impl Sync for SlackBlockWorkflowButtonElementInit
impl Unpin for SlackBlockWorkflowButtonElementInit
impl UnsafeUnpin for SlackBlockWorkflowButtonElementInit
impl UnwindSafe for SlackBlockWorkflowButtonElementInit
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