pub struct RichTextBlock {
pub elements: Vec<RichTextObject>,
pub block_id: Option<String>,
/* private fields */
}Expand description
A rich text block. https://docs.slack.dev/reference/block-kit/blocks/rich-text-block
Fields§
§elements: Vec<RichTextObject>§block_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RichTextBlock
impl Clone for RichTextBlock
Source§impl Debug for RichTextBlock
impl Debug for RichTextBlock
Source§impl<'de> Deserialize<'de> for RichTextBlock
impl<'de> Deserialize<'de> for RichTextBlock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RichTextBlock> for Block
impl From<RichTextBlock> for Block
Source§fn from(value: RichTextBlock) -> Self
fn from(value: RichTextBlock) -> Self
Converts to this type from the input type.
Source§impl From<RichTextBlock> for TableCell
impl From<RichTextBlock> for TableCell
Source§fn from(value: RichTextBlock) -> Self
fn from(value: RichTextBlock) -> Self
Converts to this type from the input type.
Source§impl From<RichTextBlock> for DataTableCell
impl From<RichTextBlock> for DataTableCell
Source§fn from(value: RichTextBlock) -> Self
fn from(value: RichTextBlock) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RichTextBlock
impl PartialEq for RichTextBlock
Source§impl Serialize for RichTextBlock
impl Serialize for RichTextBlock
impl StructuralPartialEq 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 UnsafeUnpin 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