pub enum SlackContextActionBlockElement {
FeedbackButtons(SlackBlockFeedbackButtonsElement),
IconButton(SlackBlockIconButtonElement),
}Variants§
FeedbackButtons(SlackBlockFeedbackButtonsElement)
IconButton(SlackBlockIconButtonElement)
Trait Implementations§
Source§impl Clone for SlackContextActionBlockElement
impl Clone for SlackContextActionBlockElement
Source§fn clone(&self) -> SlackContextActionBlockElement
fn clone(&self) -> SlackContextActionBlockElement
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<'de> Deserialize<'de> for SlackContextActionBlockElement
impl<'de> Deserialize<'de> for SlackContextActionBlockElement
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<SlackBlockFeedbackButtonsElement> for SlackContextActionBlockElement
impl From<SlackBlockFeedbackButtonsElement> for SlackContextActionBlockElement
Source§fn from(element: SlackBlockFeedbackButtonsElement) -> Self
fn from(element: SlackBlockFeedbackButtonsElement) -> Self
Converts to this type from the input type.
Source§impl From<SlackBlockIconButtonElement> for SlackContextActionBlockElement
impl From<SlackBlockIconButtonElement> for SlackContextActionBlockElement
Source§fn from(element: SlackBlockIconButtonElement) -> Self
fn from(element: SlackBlockIconButtonElement) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackContextActionBlockElement
Auto Trait Implementations§
impl Freeze for SlackContextActionBlockElement
impl RefUnwindSafe for SlackContextActionBlockElement
impl Send for SlackContextActionBlockElement
impl Sync for SlackContextActionBlockElement
impl Unpin for SlackContextActionBlockElement
impl UnsafeUnpin for SlackContextActionBlockElement
impl UnwindSafe for SlackContextActionBlockElement
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