pub struct ContextActionsBlock {
pub elements: Vec<ContextActionsElement>,
pub block_id: Option<String>,
/* private fields */
}Expand description
A block that shows feedback buttons and icon buttons as contextual actions. https://docs.slack.dev/reference/block-kit/blocks/context-actions-block
Fields§
§elements: Vec<ContextActionsElement>§block_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ContextActionsBlock
impl Clone for ContextActionsBlock
Source§impl Debug for ContextActionsBlock
impl Debug for ContextActionsBlock
Source§impl<'de> Deserialize<'de> for ContextActionsBlock
impl<'de> Deserialize<'de> for ContextActionsBlock
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<ContextActionsBlock> for Block
impl From<ContextActionsBlock> for Block
Source§fn from(value: ContextActionsBlock) -> Self
fn from(value: ContextActionsBlock) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContextActionsBlock
impl PartialEq for ContextActionsBlock
Source§impl Serialize for ContextActionsBlock
impl Serialize for ContextActionsBlock
impl StructuralPartialEq for ContextActionsBlock
Auto Trait Implementations§
impl Freeze for ContextActionsBlock
impl RefUnwindSafe for ContextActionsBlock
impl Send for ContextActionsBlock
impl Sync for ContextActionsBlock
impl Unpin for ContextActionsBlock
impl UnsafeUnpin for ContextActionsBlock
impl UnwindSafe for ContextActionsBlock
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