pub struct SystemMessageDataMemberJoinData {
pub approved_by: Option<SystemMessageReferredUser>,
pub member: SystemMessageReferredUser,
pub role: MemberRole,
}Available on crate feature
namespace-chatbsky only.Expand description
System message indicating a user joined the group convo via join link.
Fields§
§approved_by: Option<SystemMessageReferredUser>If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.
member: SystemMessageReferredUserCurrent view of the member who joined.
role: MemberRoleRole the user was added to the group with. The role from ‘member’ will reflect the current data, not historical.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SystemMessageDataMemberJoinData
impl<'de> Deserialize<'de> for SystemMessageDataMemberJoinData
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 SystemMessageDataMemberJoinData
impl StructuralPartialEq for SystemMessageDataMemberJoinData
Auto Trait Implementations§
impl Freeze for SystemMessageDataMemberJoinData
impl RefUnwindSafe for SystemMessageDataMemberJoinData
impl Send for SystemMessageDataMemberJoinData
impl Sync for SystemMessageDataMemberJoinData
impl Unpin for SystemMessageDataMemberJoinData
impl UnsafeUnpin for SystemMessageDataMemberJoinData
impl UnwindSafe for SystemMessageDataMemberJoinData
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.