Struct sfr_types::RichTextBlock
source · pub struct RichTextBlock {
pub elements: Vec<RichTextObject>,
pub block_id: Option<BlockId>,
}Expand description
Rich text block.
Fields§
§elements: Vec<RichTextObject>An array of rich text objects - rich_text_section, rich_text_list, rich_text_preformatted, and rich_text_quote.
block_id: Option<BlockId>A unique identifier for a block.
Trait Implementations§
source§impl Clone for RichTextBlock
impl Clone for RichTextBlock
source§fn clone(&self) -> RichTextBlock
fn clone(&self) -> RichTextBlock
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 RichTextBlock
impl Debug for RichTextBlock
Auto Trait Implementations§
impl Freeze for RichTextBlock
impl RefUnwindSafe for RichTextBlock
impl Send for RichTextBlock
impl Sync for RichTextBlock
impl Unpin for RichTextBlock
impl UnwindSafe for RichTextBlock
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)