pub struct Mentions {
pub everyone: bool,
pub members: Vec<MemberId>,
pub roles: Vec<RoleId>,
}Expand description
mentions: {everyone, members, roles} (§8.5).
Fields§
§everyone: bool@everyone was mentioned.
members: Vec<MemberId>Mentioned members, ≤ 50.
roles: Vec<RoleId>Mentioned roles, ≤ 20.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mentions
impl<'de> Deserialize<'de> for Mentions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Mentions
impl StructuralPartialEq for Mentions
Auto Trait Implementations§
impl Freeze for Mentions
impl RefUnwindSafe for Mentions
impl Send for Mentions
impl Sync for Mentions
impl Unpin for Mentions
impl UnsafeUnpin for Mentions
impl UnwindSafe for Mentions
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