pub struct RichTextPreformatted {
pub elements: Vec<RichTextElement>,
pub border: Option<u64>,
}Expand description
Preformatted code block element: rich_text_preformatted.
https://api.slack.com/reference/block-kit/blocks#rich_text_preformatted
Fields§
§elements: Vec<RichTextElement>An array of rich text elements.
border: Option<u64>Number of pixels of border thickness.
Trait Implementations§
Source§impl Clone for RichTextPreformatted
impl Clone for RichTextPreformatted
Source§fn clone(&self) -> RichTextPreformatted
fn clone(&self) -> RichTextPreformatted
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 RichTextPreformatted
impl Debug for RichTextPreformatted
Auto Trait Implementations§
impl Freeze for RichTextPreformatted
impl RefUnwindSafe for RichTextPreformatted
impl Send for RichTextPreformatted
impl Sync for RichTextPreformatted
impl Unpin for RichTextPreformatted
impl UnwindSafe for RichTextPreformatted
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