pub struct RichTextList {
pub style: RichTextListStyle,
pub elements: Vec<RichTextSection>,
pub indent: Option<u64>,
pub offset: Option<u64>,
pub border: Option<u64>,
}Expand description
List element: rich_text_list.
https://api.slack.com/reference/block-kit/blocks#rich_text_list
Fields§
§style: RichTextListStyleEither bullet or ordered, the latter meaning a numbered list.
elements: Vec<RichTextSection>An array of rich_text_section objects containing two properties: type, which is “rich_text_section”, and elements, which is an array of rich text element objects.
indent: Option<u64>Number of pixels to indent the list.
offset: Option<u64>Number of pixels to offset the list.
border: Option<u64>Number of pixels of border thickness.
Trait Implementations§
Source§impl Clone for RichTextList
impl Clone for RichTextList
Source§fn clone(&self) -> RichTextList
fn clone(&self) -> RichTextList
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 RichTextList
impl Debug for RichTextList
Auto Trait Implementations§
impl Freeze for RichTextList
impl RefUnwindSafe for RichTextList
impl Send for RichTextList
impl Sync for RichTextList
impl Unpin for RichTextList
impl UnwindSafe for RichTextList
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