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