Struct sfr_types::RichTextElementUser
source · 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 copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)