[−][src]Enum block_kit::block::Block
Blocks are a series of components that can be combined to create visually rich and compellingly interactive messages.
BlockType
: Available in surfaces
Actions : Modals, Messages, Home tabs
Context : Modals, Messages, Home tabs
Divider : Modals, Messages, Home tabs
File : Messages
Image : Modals, Messages, Home tabs
Input : Modals
Section : Modals, Messages, Home tabs
Variants
Section(SectionBlock)
Divider(DividerBlock)
Actions(ActionsBlock)
Image(ImageBlock)
Context(ContextBlock)
Trait Implementations
impl Debug for Block
[src]
impl From<ActionsBlock> for Block
[src]
fn from(block: ActionsBlock) -> Self
[src]
impl From<ContextBlock> for Block
[src]
fn from(block: ContextBlock) -> Self
[src]
impl From<DividerBlock> for Block
[src]
fn from(block: DividerBlock) -> Self
[src]
impl From<ImageBlock> for Block
[src]
fn from(block: ImageBlock) -> Self
[src]
impl From<SectionBlock> for Block
[src]
fn from(block: SectionBlock) -> Self
[src]
impl Serialize for Block
[src]
Auto Trait Implementations
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,