Enum sfr_types::RichTextObject
source · pub enum RichTextObject {
RichTextSection(RichTextSection),
RichTextList(RichTextList),
RichTextPreformatted(RichTextPreformatted),
RichTextQuote(RichTextQuote),
}Expand description
An element in rich text block.
Variants§
RichTextSection(RichTextSection)
Section element: rich_text_section.
https://api.slack.com/reference/block-kit/blocks#rich_text_section
RichTextList(RichTextList)
List element: rich_text_list.
https://api.slack.com/reference/block-kit/blocks#rich_text_list
RichTextPreformatted(RichTextPreformatted)
Preformatted code block element: rich_text_preformatted.
https://api.slack.com/reference/block-kit/blocks#rich_text_preformatted
RichTextQuote(RichTextQuote)
Quote element: rich_text_quote.
https://api.slack.com/reference/block-kit/blocks#rich_text_quote
Trait Implementations§
source§impl Clone for RichTextObject
impl Clone for RichTextObject
source§fn clone(&self) -> RichTextObject
fn clone(&self) -> RichTextObject
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RichTextObject
impl Debug for RichTextObject
Auto Trait Implementations§
impl Freeze for RichTextObject
impl RefUnwindSafe for RichTextObject
impl Send for RichTextObject
impl Sync for RichTextObject
impl Unpin for RichTextObject
impl UnwindSafe for RichTextObject
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)