pub struct SlackRichTextSection {
pub elements: Vec<SlackRichTextInlineElement>,
}Fields§
§elements: Vec<SlackRichTextInlineElement>Implementations§
Source§impl SlackRichTextSection
impl SlackRichTextSection
pub fn new(elements: Vec<SlackRichTextInlineElement>) -> Self
pub fn elements(&mut self, value: Vec<SlackRichTextInlineElement>) -> &mut Self
pub fn with_elements(self, value: Vec<SlackRichTextInlineElement>) -> Self
Trait Implementations§
Source§impl Clone for SlackRichTextSection
impl Clone for SlackRichTextSection
Source§fn clone(&self) -> SlackRichTextSection
fn clone(&self) -> SlackRichTextSection
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 SlackRichTextSection
impl Debug for SlackRichTextSection
Source§impl<'de> Deserialize<'de> for SlackRichTextSection
impl<'de> Deserialize<'de> for SlackRichTextSection
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<SlackRichTextSection> for SlackRichTextElement
impl From<SlackRichTextSection> for SlackRichTextElement
Source§fn from(element: SlackRichTextSection) -> Self
fn from(element: SlackRichTextSection) -> Self
Converts to this type from the input type.
Source§impl From<SlackRichTextSectionInit> for SlackRichTextSection
impl From<SlackRichTextSectionInit> for SlackRichTextSection
Source§fn from(value: SlackRichTextSectionInit) -> Self
fn from(value: SlackRichTextSectionInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackRichTextSection
impl PartialEq for SlackRichTextSection
Source§impl Serialize for SlackRichTextSection
impl Serialize for SlackRichTextSection
impl StructuralPartialEq for SlackRichTextSection
Auto Trait Implementations§
impl Freeze for SlackRichTextSection
impl RefUnwindSafe for SlackRichTextSection
impl Send for SlackRichTextSection
impl Sync for SlackRichTextSection
impl Unpin for SlackRichTextSection
impl UnsafeUnpin for SlackRichTextSection
impl UnwindSafe for SlackRichTextSection
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