#[non_exhaustive]pub struct GetGuildScheduledEventUsers {
pub limit: Option<u8>,
pub with_member: Option<bool>,
pub before: Option<UserId>,
pub after: Option<UserId>,
}Expand description
The query of Get Guild Scheduled Event Users.
Users are sorted by ID; with both before and after, only before is used.
discord.js counterpart: RESTGetAPIGuildScheduledEventUsersQuery (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<u8>The page size (max 100, the default).
with_member: Option<bool>Whether to include each user’s member data in the guild.
before: Option<UserId>Users with a lower ID.
after: Option<UserId>Users with a higher ID.
Trait Implementations§
Source§impl Clone for GetGuildScheduledEventUsers
impl Clone for GetGuildScheduledEventUsers
impl Copy for GetGuildScheduledEventUsers
Source§impl Debug for GetGuildScheduledEventUsers
impl Debug for GetGuildScheduledEventUsers
impl Eq for GetGuildScheduledEventUsers
Source§impl Hash for GetGuildScheduledEventUsers
impl Hash for GetGuildScheduledEventUsers
impl StructuralPartialEq for GetGuildScheduledEventUsers
Auto Trait Implementations§
impl Freeze for GetGuildScheduledEventUsers
impl RefUnwindSafe for GetGuildScheduledEventUsers
impl Send for GetGuildScheduledEventUsers
impl Sync for GetGuildScheduledEventUsers
impl Unpin for GetGuildScheduledEventUsers
impl UnsafeUnpin for GetGuildScheduledEventUsers
impl UnwindSafe for GetGuildScheduledEventUsers
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