pub enum SlackContextBlockElement {
Image(SlackBlockImageElement),
Plain(SlackBlockPlainText),
MarkDown(SlackBlockMarkDownText),
}Variants
Image(SlackBlockImageElement)
Plain(SlackBlockPlainText)
MarkDown(SlackBlockMarkDownText)
Trait Implementations
sourceimpl Clone for SlackContextBlockElement
impl Clone for SlackContextBlockElement
sourcefn clone(&self) -> SlackContextBlockElement
fn clone(&self) -> SlackContextBlockElement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SlackContextBlockElement
impl Debug for SlackContextBlockElement
sourceimpl<'de> Deserialize<'de> for SlackContextBlockElement
impl<'de> Deserialize<'de> for SlackContextBlockElement
sourcefn 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
sourceimpl From<SlackBlockImageElement> for SlackContextBlockElement
impl From<SlackBlockImageElement> for SlackContextBlockElement
sourcefn from(element: SlackBlockImageElement) -> Self
fn from(element: SlackBlockImageElement) -> Self
Converts to this type from the input type.
sourceimpl From<SlackBlockMarkDownText> for SlackContextBlockElement
impl From<SlackBlockMarkDownText> for SlackContextBlockElement
sourcefn from(text: SlackBlockMarkDownText) -> Self
fn from(text: SlackBlockMarkDownText) -> Self
Converts to this type from the input type.
sourceimpl From<SlackBlockPlainText> for SlackContextBlockElement
impl From<SlackBlockPlainText> for SlackContextBlockElement
sourcefn from(text: SlackBlockPlainText) -> Self
fn from(text: SlackBlockPlainText) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackContextBlockElement> for SlackContextBlockElement
impl PartialEq<SlackContextBlockElement> for SlackContextBlockElement
sourcefn eq(&self, other: &SlackContextBlockElement) -> bool
fn eq(&self, other: &SlackContextBlockElement) -> bool
sourceimpl Serialize for SlackContextBlockElement
impl Serialize for SlackContextBlockElement
impl StructuralPartialEq for SlackContextBlockElement
Auto Trait Implementations
impl RefUnwindSafe for SlackContextBlockElement
impl Send for SlackContextBlockElement
impl Sync for SlackContextBlockElement
impl Unpin for SlackContextBlockElement
impl UnwindSafe for SlackContextBlockElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more