#[non_exhaustive]pub struct ListThreadMembers {
pub with_member: Option<bool>,
pub after: Option<UserId>,
pub limit: Option<u8>,
}Expand description
The query of List Thread Members.
Needs the GUILD_MEMBERS privileged intent. With with_member, the results are
paginated (100 per page by default).
discord.js counterpart: RESTGetAPIChannelThreadMembersQuery (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.with_member: Option<bool>Whether to include each guild member (and paginate).
after: Option<UserId>Members after this user ID.
limit: Option<u8>The page size (1-100, default 100).
Trait Implementations§
Source§impl Clone for ListThreadMembers
impl Clone for ListThreadMembers
impl Copy for ListThreadMembers
Source§impl Debug for ListThreadMembers
impl Debug for ListThreadMembers
Source§impl Default for ListThreadMembers
impl Default for ListThreadMembers
impl Eq for ListThreadMembers
Source§impl Hash for ListThreadMembers
impl Hash for ListThreadMembers
Source§impl PartialEq for ListThreadMembers
impl PartialEq for ListThreadMembers
impl StructuralPartialEq for ListThreadMembers
Auto Trait Implementations§
impl Freeze for ListThreadMembers
impl RefUnwindSafe for ListThreadMembers
impl Send for ListThreadMembers
impl Sync for ListThreadMembers
impl Unpin for ListThreadMembers
impl UnsafeUnpin for ListThreadMembers
impl UnwindSafe for ListThreadMembers
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