pub struct TorrentRequest { /* private fields */ }Expand description
filter optional Filter torrent list. Allowed filters: all, downloading, completed, paused, active, inactive, ‘resumed’ category optional Get torrents with the given category (empty string means “without category”; no “category” parameter means “any category”) sort optional Sort torrents by given key. All the possible keys are listed here below reverse optional Enable reverse sorting. Possible values are true and false (default) limit optional Limit the number of torrents returned offset optional Set offset (if less than 0, offset from end) hashes optional Filter by hashes. Can contain multiple hashes separated by |
Implementations§
Trait Implementations§
Source§impl Clone for TorrentRequest
impl Clone for TorrentRequest
Source§fn clone(&self) -> TorrentRequest
fn clone(&self) -> TorrentRequest
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 TorrentRequest
impl Debug for TorrentRequest
Source§impl Default for TorrentRequest
impl Default for TorrentRequest
Source§fn default() -> TorrentRequest
fn default() -> TorrentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TorrentRequest
impl<'de> Deserialize<'de> for TorrentRequest
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 TorrentRequest
impl RefUnwindSafe for TorrentRequest
impl Send for TorrentRequest
impl Sync for TorrentRequest
impl Unpin for TorrentRequest
impl UnwindSafe for TorrentRequest
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