pub enum ContextActionsElement {
FeedbackButtons(FeedbackButtonsElement),
IconButton(IconButtonElement),
Unknown(Value),
}Expand description
An element allowed in a context actions block. https://docs.slack.dev/reference/block-kit/blocks/context-actions-block
Variants§
FeedbackButtons(FeedbackButtonsElement)
IconButton(IconButtonElement)
Unknown(Value)
A kind this crate does not know. Keeps the received JSON and writes it back unchanged.
Trait Implementations§
Source§impl Clone for ContextActionsElement
impl Clone for ContextActionsElement
Source§impl Debug for ContextActionsElement
impl Debug for ContextActionsElement
Source§impl<'de> Deserialize<'de> for ContextActionsElement
impl<'de> Deserialize<'de> for ContextActionsElement
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FeedbackButtonsElement> for ContextActionsElement
impl From<FeedbackButtonsElement> for ContextActionsElement
Source§fn from(value: FeedbackButtonsElement) -> Self
fn from(value: FeedbackButtonsElement) -> Self
Converts to this type from the input type.
Source§impl From<IconButtonElement> for ContextActionsElement
impl From<IconButtonElement> for ContextActionsElement
Source§fn from(value: IconButtonElement) -> Self
fn from(value: IconButtonElement) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContextActionsElement
impl PartialEq for ContextActionsElement
Source§impl Serialize for ContextActionsElement
impl Serialize for ContextActionsElement
impl StructuralPartialEq for ContextActionsElement
Auto Trait Implementations§
impl Freeze for ContextActionsElement
impl RefUnwindSafe for ContextActionsElement
impl Send for ContextActionsElement
impl Sync for ContextActionsElement
impl Unpin for ContextActionsElement
impl UnsafeUnpin for ContextActionsElement
impl UnwindSafe for ContextActionsElement
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