#[non_exhaustive]pub struct SearchGuildMembers {
pub query: CompactString,
pub limit: Option<u16>,
}Expand description
The query of Search Guild Members.
discord.js counterpart: RESTGetAPIGuildMembersSearchQuery (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.query: CompactStringThe start of the usernames and nicknames to find.
limit: Option<u16>The maximum number of members (1-1000; Discord’s default: 1).
Implementations§
Trait Implementations§
Source§impl Clone for SearchGuildMembers
impl Clone for SearchGuildMembers
Source§impl Debug for SearchGuildMembers
impl Debug for SearchGuildMembers
impl Eq for SearchGuildMembers
Source§impl Hash for SearchGuildMembers
impl Hash for SearchGuildMembers
Source§impl PartialEq for SearchGuildMembers
impl PartialEq for SearchGuildMembers
impl StructuralPartialEq for SearchGuildMembers
Auto Trait Implementations§
impl Freeze for SearchGuildMembers
impl RefUnwindSafe for SearchGuildMembers
impl Send for SearchGuildMembers
impl Sync for SearchGuildMembers
impl Unpin for SearchGuildMembers
impl UnsafeUnpin for SearchGuildMembers
impl UnwindSafe for SearchGuildMembers
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