pub struct SlackTableRichTextCell {
pub elements: Vec<SlackRichTextElement>,
}Fields§
§elements: Vec<SlackRichTextElement>Implementations§
Source§impl SlackTableRichTextCell
impl SlackTableRichTextCell
pub fn new(elements: Vec<SlackRichTextElement>) -> Self
pub fn elements(&mut self, value: Vec<SlackRichTextElement>) -> &mut Self
pub fn with_elements(self, value: Vec<SlackRichTextElement>) -> Self
Trait Implementations§
Source§impl Clone for SlackTableRichTextCell
impl Clone for SlackTableRichTextCell
Source§fn clone(&self) -> SlackTableRichTextCell
fn clone(&self) -> SlackTableRichTextCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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<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§fn eq(&self, other: &SlackTableRichTextCell) -> bool
fn eq(&self, other: &SlackTableRichTextCell) -> bool
Tests for
self and other values to be equal, and is used by ==.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