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