pub struct PushMessageContentChatAddMembers {
pub member_name: String,
pub is_current_user: bool,
pub is_returned: bool,
}
Expand description
New chat members were invited to a group
Fields§
§member_name: String
Name of the added member
is_current_user: bool
True, if the current user was added to the group
is_returned: bool
True, if the user has returned to the group themselves
Trait Implementations§
Source§impl Clone for PushMessageContentChatAddMembers
impl Clone for PushMessageContentChatAddMembers
Source§fn clone(&self) -> PushMessageContentChatAddMembers
fn clone(&self) -> PushMessageContentChatAddMembers
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 Default for PushMessageContentChatAddMembers
impl Default for PushMessageContentChatAddMembers
Source§fn default() -> PushMessageContentChatAddMembers
fn default() -> PushMessageContentChatAddMembers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushMessageContentChatAddMembers
impl<'de> Deserialize<'de> for PushMessageContentChatAddMembers
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
Source§impl PartialEq for PushMessageContentChatAddMembers
impl PartialEq for PushMessageContentChatAddMembers
Source§fn eq(&self, other: &PushMessageContentChatAddMembers) -> bool
fn eq(&self, other: &PushMessageContentChatAddMembers) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PushMessageContentChatAddMembers
Auto Trait Implementations§
impl Freeze for PushMessageContentChatAddMembers
impl RefUnwindSafe for PushMessageContentChatAddMembers
impl Send for PushMessageContentChatAddMembers
impl Sync for PushMessageContentChatAddMembers
impl Unpin for PushMessageContentChatAddMembers
impl UnwindSafe for PushMessageContentChatAddMembers
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