pub enum SlackBlock {
Section(SlackSectionBlock),
Divider,
Header(SlackHeaderBlock),
Actions(SlackActionsBlock),
Context(SlackContextBlock),
}Expand description
Block Kit block types.
Variants§
Section(SlackSectionBlock)
Slack Section
Divider
Slack Divicer
Header(SlackHeaderBlock)
Slack Header
Actions(SlackActionsBlock)
Slack Actions
Context(SlackContextBlock)
Slack Context
Trait Implementations§
Source§impl Clone for SlackBlock
impl Clone for SlackBlock
Source§impl Debug for SlackBlock
impl Debug for SlackBlock
Auto Trait Implementations§
impl Freeze for SlackBlock
impl RefUnwindSafe for SlackBlock
impl Send for SlackBlock
impl Sync for SlackBlock
impl Unpin for SlackBlock
impl UnsafeUnpin for SlackBlock
impl UnwindSafe for SlackBlock
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