Enum slack_blocks::blocks::context::ImageOrText [−][src]
pub enum ImageOrText<'a> { Text(Text), Image(BlockElement<'a>), }
Expand description
The Composition objects supported by this block
Variants
Text(Text)
Image(BlockElement<'a>)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImageOrText<'a>
impl<'a> Send for ImageOrText<'a>
impl<'a> Sync for ImageOrText<'a>
impl<'a> Unpin for ImageOrText<'a>
impl<'a> UnwindSafe for ImageOrText<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more