Enum slack_morphism::prelude::SlackBlock [−][src]
pub enum SlackBlock {
Section(SlackSectionBlock),
Header(SlackHeaderBlock),
Divider(SlackDividerBlock),
Image(SlackImageBlock),
Actions(SlackActionsBlock),
Context(SlackContextBlock),
Input(SlackInputBlock),
File(SlackFileBlock),
RichText(Value),
}Variants
Section(SlackSectionBlock)Tuple Fields of Section
Header(SlackHeaderBlock)Tuple Fields of Header
Divider(SlackDividerBlock)Tuple Fields of Divider
Image(SlackImageBlock)Tuple Fields of Image
Actions(SlackActionsBlock)Tuple Fields of Actions
Context(SlackContextBlock)Tuple Fields of Context
Input(SlackInputBlock)Tuple Fields of Input
File(SlackFileBlock)Tuple Fields of File
RichText(Value)Tuple Fields of RichText
0: ValueTrait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackBlock, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackBlock, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SlackBlock
impl Send for SlackBlock
impl Sync for SlackBlock
impl Unpin for SlackBlock
impl UnwindSafe for SlackBlock
Blanket Implementations
Mutably borrows from an owned value. Read more