Enum discord_bots::listing::BotListingSort
source · pub enum BotListingSort {
Points,
MonthlyPoints,
Date,
ServerCount,
Reverse(Box<BotListingSort>),
}
Expand description
Sorting options for bot listing
To reverse, use .reverse instead of wrapping
Variants
Points
MonthlyPoints
Date
ServerCount
Reverse(Box<BotListingSort>)
Implementations
sourceimpl BotListingSort
impl BotListingSort
Trait Implementations
sourceimpl Clone for BotListingSort
impl Clone for BotListingSort
sourcefn clone(&self) -> BotListingSort
fn clone(&self) -> BotListingSort
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BotListingSort
impl Debug for BotListingSort
Auto Trait Implementations
impl RefUnwindSafe for BotListingSort
impl Send for BotListingSort
impl Sync for BotListingSort
impl Unpin for BotListingSort
impl UnwindSafe for BotListingSort
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more