pub struct ThreadMembersUpdate {
pub added_members: Vec<ThreadMember>,
pub guild_id: Id<GuildMarker>,
pub id: Id<ChannelMarker>,
pub member_count: i32,
pub removed_member_ids: Vec<Id<UserMarker>>,
}
Fields§
§added_members: Vec<ThreadMember>
List of thread members.
Includes the member
key.
guild_id: Id<GuildMarker>
§id: Id<ChannelMarker>
§member_count: i32
Number of members in the thread.
This is an approximation and may not be accurate.
removed_member_ids: Vec<Id<UserMarker>>
Trait Implementations§
Source§impl Clone for ThreadMembersUpdate
impl Clone for ThreadMembersUpdate
Source§fn clone(&self) -> ThreadMembersUpdate
fn clone(&self) -> ThreadMembersUpdate
Returns a copy 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 Debug for ThreadMembersUpdate
impl Debug for ThreadMembersUpdate
Source§impl<'de> Deserialize<'de> for ThreadMembersUpdate
impl<'de> Deserialize<'de> for ThreadMembersUpdate
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ThreadMembersUpdate
impl Hash for ThreadMembersUpdate
Source§impl PartialEq for ThreadMembersUpdate
impl PartialEq for ThreadMembersUpdate
Source§impl Serialize for ThreadMembersUpdate
impl Serialize for ThreadMembersUpdate
impl Eq for ThreadMembersUpdate
impl StructuralPartialEq for ThreadMembersUpdate
Auto Trait Implementations§
impl Freeze for ThreadMembersUpdate
impl RefUnwindSafe for ThreadMembersUpdate
impl Send for ThreadMembersUpdate
impl Sync for ThreadMembersUpdate
impl Unpin for ThreadMembersUpdate
impl UnwindSafe for ThreadMembersUpdate
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