pub struct MentionElement {
pub span: Span,
pub kind: MentionType,
pub id: String,
}Expand description
멘션 <@uuid> 또는 <#uuid>
Fields§
§span: Span§kind: MentionType§id: StringTrait Implementations§
Source§impl Clone for MentionElement
impl Clone for MentionElement
Source§fn clone(&self) -> MentionElement
fn clone(&self) -> MentionElement
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 MentionElement
impl Debug for MentionElement
Auto Trait Implementations§
impl Freeze for MentionElement
impl RefUnwindSafe for MentionElement
impl Send for MentionElement
impl Sync for MentionElement
impl Unpin for MentionElement
impl UnwindSafe for MentionElement
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