pub struct RichTextElementUser {
pub user_id: String,
pub style: Option<RichTextStyle2>,
}Expand description
The following are the properties of the user object type in the elements array.
Fields§
§user_id: StringThe ID of the user 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 RichTextElementUser
impl Clone for RichTextElementUser
Source§fn clone(&self) -> RichTextElementUser
fn clone(&self) -> RichTextElementUser
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 RichTextElementUser
impl Debug for RichTextElementUser
Auto Trait Implementations§
impl Freeze for RichTextElementUser
impl RefUnwindSafe for RichTextElementUser
impl Send for RichTextElementUser
impl Sync for RichTextElementUser
impl Unpin for RichTextElementUser
impl UnwindSafe for RichTextElementUser
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