pub enum ChunkGuildFilter {
None,
Query(String),
UserIds(Vec<UserId>),
}
Expand description
Variants§
None
Returns all members of the guilds specified. Requires GUILD_MEMBERS intent.
Query(String)
A common username prefix filter for the members returned.
Will return a maximum of 100 members.
UserIds(Vec<UserId>)
A set of exact user IDs to query for.
Will return a maximum of 100 members.
Trait Implementations§
Source§impl Clone for ChunkGuildFilter
impl Clone for ChunkGuildFilter
Source§fn clone(&self) -> ChunkGuildFilter
fn clone(&self) -> ChunkGuildFilter
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 moreAuto Trait Implementations§
impl Freeze for ChunkGuildFilter
impl RefUnwindSafe for ChunkGuildFilter
impl Send for ChunkGuildFilter
impl Sync for ChunkGuildFilter
impl Unpin for ChunkGuildFilter
impl UnwindSafe for ChunkGuildFilter
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