Enum sfr_types::RichTextElement
source · pub enum RichTextElement {
Broadcast(RichTextElementBroadcast),
Color(RichTextElementColor),
Channel(RichTextElementChannel),
Date(RichTextElementDate),
Emoji(RichTextElementEmoji),
Link(RichTextElementLink),
Text(RichTextElementText),
User(RichTextElementUser),
Usergroup(RichTextElementUsergroup),
}Expand description
Rich text element types.
https://api.slack.com/reference/block-kit/blocks#element-types
Variants§
Broadcast(RichTextElementBroadcast)
The following are the properties of the broadcast object type in the elements array.
Color(RichTextElementColor)
The following are the properties of the color object type in the elements array.
Channel(RichTextElementChannel)
The following are the properties of the channel object type in the elements array.
Date(RichTextElementDate)
The following are the properties of the date object type in the elements array.
Emoji(RichTextElementEmoji)
The following are the properties of the emoji object type in the elements array.
Link(RichTextElementLink)
The following are the properties of the link object type in the elements array.
Text(RichTextElementText)
The following are the properties of the text object type in the elements array.
User(RichTextElementUser)
The following are the properties of the user object type in the elements array.
Usergroup(RichTextElementUsergroup)
The following are the properties of the usergroup object type in the elements array.
Trait Implementations§
source§impl Clone for RichTextElement
impl Clone for RichTextElement
source§fn clone(&self) -> RichTextElement
fn clone(&self) -> RichTextElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RichTextElement
impl Debug for RichTextElement
Auto Trait Implementations§
impl Freeze for RichTextElement
impl RefUnwindSafe for RichTextElement
impl Send for RichTextElement
impl Sync for RichTextElement
impl Unpin for RichTextElement
impl UnwindSafe for RichTextElement
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)