pub struct RichTextElementChannel {
pub channel_id: String,
pub style: Option<RichTextStyle2>,
}Expand description
The following are the properties of the channel object type in the elements array.
Fields§
§channel_id: StringThe ID of the channel to be mentioned.
style: Option<RichTextStyle2>An object of six optional boolean properties that dictate style: bold, italic, strike, highlight, client_highlight, and unlink.
Trait Implementations§
Source§impl Clone for RichTextElementChannel
impl Clone for RichTextElementChannel
Source§fn clone(&self) -> RichTextElementChannel
fn clone(&self) -> RichTextElementChannel
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 RichTextElementChannel
impl Debug for RichTextElementChannel
Auto Trait Implementations§
impl Freeze for RichTextElementChannel
impl RefUnwindSafe for RichTextElementChannel
impl Send for RichTextElementChannel
impl Sync for RichTextElementChannel
impl Unpin for RichTextElementChannel
impl UnwindSafe for RichTextElementChannel
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