pub struct SlackTableRichTextCell {
pub elements: Vec<SlackRichTextElement>,
}Fields§
§elements: Vec<SlackRichTextElement>Implementations§
Source§impl SlackTableRichTextCell
impl SlackTableRichTextCell
Sourcepub fn new(elements: Vec<SlackRichTextElement>) -> Self
pub fn new(elements: Vec<SlackRichTextElement>) -> Self
Creates a new SlackTableRichTextCell from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn elements(&mut self, value: Vec<SlackRichTextElement>) -> &mut Self
pub fn elements(&mut self, value: Vec<SlackRichTextElement>) -> &mut Self
Sets elements to value.
Sourcepub fn with_elements(self, value: Vec<SlackRichTextElement>) -> Self
pub fn with_elements(self, value: Vec<SlackRichTextElement>) -> Self
Returns self with elements set to value.
Trait Implementations§
Source§impl Clone for SlackTableRichTextCell
impl Clone for SlackTableRichTextCell
Source§impl Debug for SlackTableRichTextCell
impl Debug for SlackTableRichTextCell
Source§impl<'de> Deserialize<'de> for SlackTableRichTextCell
impl<'de> Deserialize<'de> for SlackTableRichTextCell
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<SlackTableRichTextCell> for SlackTableCell
impl From<SlackTableRichTextCell> for SlackTableCell
Source§fn from(cell: SlackTableRichTextCell) -> Self
fn from(cell: SlackTableRichTextCell) -> Self
Converts to this type from the input type.
Source§impl From<SlackTableRichTextCell> for SlackDataTableCell
impl From<SlackTableRichTextCell> for SlackDataTableCell
Source§fn from(cell: SlackTableRichTextCell) -> Self
fn from(cell: SlackTableRichTextCell) -> Self
Converts to this type from the input type.
Source§impl From<SlackTableRichTextCellInit> for SlackTableRichTextCell
impl From<SlackTableRichTextCellInit> for SlackTableRichTextCell
Source§fn from(value: SlackTableRichTextCellInit) -> Self
fn from(value: SlackTableRichTextCellInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackTableRichTextCell
impl PartialEq for SlackTableRichTextCell
Source§impl Serialize for SlackTableRichTextCell
impl Serialize for SlackTableRichTextCell
impl StructuralPartialEq for SlackTableRichTextCell
Auto Trait Implementations§
impl Freeze for SlackTableRichTextCell
impl RefUnwindSafe for SlackTableRichTextCell
impl Send for SlackTableRichTextCell
impl Sync for SlackTableRichTextCell
impl Unpin for SlackTableRichTextCell
impl UnsafeUnpin for SlackTableRichTextCell
impl UnwindSafe for SlackTableRichTextCell
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