#[non_exhaustive]pub enum UserPagination {
After(UserId),
Before(UserId),
}
Expand description
Representation of the method of a query to send for the Http::get_scheduled_event_users
and
Http::get_bans
functions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto Trait Implementations§
impl Freeze for UserPagination
impl RefUnwindSafe for UserPagination
impl Send for UserPagination
impl Sync for UserPagination
impl Unpin for UserPagination
impl UnwindSafe for UserPagination
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