pub struct ParsedMentions {
pub mentioned_people: Vec<String>,
pub mentioned_groups: Vec<String>,
}Expand description
Mentions extracted from message HTML.
Fields§
§mentioned_people: Vec<String>Person UUIDs mentioned via @mention in the message.
mentioned_groups: Vec<String>Group mention types (e.g. “all”) in the message.
Trait Implementations§
Source§impl Clone for ParsedMentions
impl Clone for ParsedMentions
Source§fn clone(&self) -> ParsedMentions
fn clone(&self) -> ParsedMentions
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 ParsedMentions
impl Debug for ParsedMentions
Source§impl Default for ParsedMentions
impl Default for ParsedMentions
Source§fn default() -> ParsedMentions
fn default() -> ParsedMentions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParsedMentions
impl RefUnwindSafe for ParsedMentions
impl Send for ParsedMentions
impl Sync for ParsedMentions
impl Unpin for ParsedMentions
impl UnsafeUnpin for ParsedMentions
impl UnwindSafe for ParsedMentions
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