#[non_exhaustive]pub struct ListGuildMembers {
pub limit: Option<u16>,
pub after: Option<UserId>,
}Expand description
The query of List Guild Members.
Needs the GUILD_MEMBERS privileged intent.
discord.js counterpart: RESTGetAPIGuildMembersQuery (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.limit: Option<u16>The page size (1-1000; Discord’s default: 1).
after: Option<UserId>The highest user ID of the previous page.
Trait Implementations§
Source§impl Clone for ListGuildMembers
impl Clone for ListGuildMembers
impl Copy for ListGuildMembers
Source§impl Debug for ListGuildMembers
impl Debug for ListGuildMembers
Source§impl Default for ListGuildMembers
impl Default for ListGuildMembers
impl Eq for ListGuildMembers
Source§impl Hash for ListGuildMembers
impl Hash for ListGuildMembers
Source§impl PartialEq for ListGuildMembers
impl PartialEq for ListGuildMembers
impl StructuralPartialEq for ListGuildMembers
Auto Trait Implementations§
impl Freeze for ListGuildMembers
impl RefUnwindSafe for ListGuildMembers
impl Send for ListGuildMembers
impl Sync for ListGuildMembers
impl Unpin for ListGuildMembers
impl UnsafeUnpin for ListGuildMembers
impl UnwindSafe for ListGuildMembers
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