Enum torrust_index_backend::databases::database::Sorting
source · pub enum Sorting {
UploadedAsc,
UploadedDesc,
SeedersAsc,
SeedersDesc,
LeechersAsc,
LeechersDesc,
NameAsc,
NameDesc,
SizeAsc,
SizeDesc,
}
Expand description
Sorting options for torrents.
Variants§
UploadedAsc
UploadedDesc
SeedersAsc
SeedersDesc
LeechersAsc
LeechersDesc
NameAsc
NameDesc
SizeAsc
SizeDesc
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sorting
impl<'de> Deserialize<'de> for Sorting
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Sorting
Auto Trait Implementations§
impl RefUnwindSafe for Sorting
impl Send for Sorting
impl Sync for Sorting
impl Unpin for Sorting
impl UnwindSafe for Sorting
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