pub enum TorrentFilter {
All,
Downloading,
Seeding,
Completed,
Paused,
Active,
Inactive,
Resumed,
Stalled,
StalledUploading,
StalledDownloading,
Errored,
}
Expand description
Filtering enum for use in making a TorrentRequest
Variants§
All
Downloading
Seeding
Completed
Paused
Active
Inactive
Resumed
Stalled
StalledUploading
StalledDownloading
Errored
Trait Implementations§
Source§impl Clone for TorrentFilter
impl Clone for TorrentFilter
Source§fn clone(&self) -> TorrentFilter
fn clone(&self) -> TorrentFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TorrentFilter
impl Debug for TorrentFilter
Source§impl Default for TorrentFilter
impl Default for TorrentFilter
Source§fn default() -> TorrentFilter
fn default() -> TorrentFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TorrentFilter
impl<'de> Deserialize<'de> for TorrentFilter
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
Auto Trait Implementations§
impl Freeze for TorrentFilter
impl RefUnwindSafe for TorrentFilter
impl Send for TorrentFilter
impl Sync for TorrentFilter
impl Unpin for TorrentFilter
impl UnwindSafe for TorrentFilter
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