pub struct MessageResults {
pub user_mentions: HashSet<String>,
pub role_mentions: HashSet<String>,
pub channel_mentions: HashSet<String>,
pub emojis: HashSet<String>,
pub mentions_everyone: bool,
pub mentions_online: bool,
}Fields§
§user_mentions: HashSet<String>§role_mentions: HashSet<String>§channel_mentions: HashSet<String>§emojis: HashSet<String>§mentions_everyone: bool§mentions_online: boolTrait Implementations§
Source§impl Clone for MessageResults
impl Clone for MessageResults
Source§fn clone(&self) -> MessageResults
fn clone(&self) -> MessageResults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MessageResults
impl Debug for MessageResults
Source§impl Default for MessageResults
impl Default for MessageResults
Source§fn default() -> MessageResults
fn default() -> MessageResults
Returns the “default value” for a type. Read more
Source§impl PartialEq for MessageResults
impl PartialEq for MessageResults
Source§fn eq(&self, other: &MessageResults) -> bool
fn eq(&self, other: &MessageResults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageResults
Auto Trait Implementations§
impl Freeze for MessageResults
impl RefUnwindSafe for MessageResults
impl Send for MessageResults
impl Sync for MessageResults
impl Unpin for MessageResults
impl UnsafeUnpin for MessageResults
impl UnwindSafe for MessageResults
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