pub enum GroupAction<'a> {
ParticipantAdded(i32),
ParticipantRemoved(i32),
NameChange(&'a str),
ParticipantLeft,
GroupIconChanged,
GroupIconRemoved,
ChatBackgroundChanged,
ChatBackgroundRemoved,
PhoneNumberChanged(i32),
}Expand description
Group action encoded by a message row.
Variants§
ParticipantAdded(i32)
Participant was added to the group.
ParticipantRemoved(i32)
Participant was removed from the group.
NameChange(&'a str)
Group name changed.
ParticipantLeft
Participant left the group.
GroupIconChanged
Group icon/avatar changed.
GroupIconRemoved
Group icon/avatar was removed.
ChatBackgroundChanged
Chat background changed.
ChatBackgroundRemoved
Chat background was removed.
PhoneNumberChanged(i32)
Participant changed their phone number.
Trait Implementations§
Source§impl<'a> Debug for GroupAction<'a>
impl<'a> Debug for GroupAction<'a>
impl<'a> Eq for GroupAction<'a>
Source§impl<'a> PartialEq for GroupAction<'a>
impl<'a> PartialEq for GroupAction<'a>
Source§fn eq(&self, other: &GroupAction<'a>) -> bool
fn eq(&self, other: &GroupAction<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for GroupAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for GroupAction<'a>
impl<'a> RefUnwindSafe for GroupAction<'a>
impl<'a> Send for GroupAction<'a>
impl<'a> Sync for GroupAction<'a>
impl<'a> Unpin for GroupAction<'a>
impl<'a> UnsafeUnpin for GroupAction<'a>
impl<'a> UnwindSafe for GroupAction<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.