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