pub struct RichTextSection {
pub elements: Vec<RichTextElement>,
}Expand description
Section element: rich_text_section.
https://api.slack.com/reference/block-kit/blocks#rich_text_section
Fields§
§elements: Vec<RichTextElement>An array of rich text elements.
Trait Implementations§
Source§impl Clone for RichTextSection
impl Clone for RichTextSection
Source§fn clone(&self) -> RichTextSection
fn clone(&self) -> RichTextSection
Returns a duplicate 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 RichTextSection
impl Debug for RichTextSection
Auto Trait Implementations§
impl Freeze for RichTextSection
impl RefUnwindSafe for RichTextSection
impl Send for RichTextSection
impl Sync for RichTextSection
impl Unpin for RichTextSection
impl UnwindSafe for RichTextSection
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