[][src]Struct qbittorrent::queries::TorrentRequest

pub struct TorrentRequest { /* fields omitted */ }

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 |

Methods

impl TorrentRequest[src]

pub async fn send<'_>(self, api: &'_ Api) -> Result<Vec<Torrent>, Error>[src]

Trait Implementations

impl Clone for TorrentRequest[src]

impl Debug for TorrentRequest[src]

impl Default for TorrentRequest[src]

impl<'de> Deserialize<'de> for TorrentRequest[src]

impl Serialize for TorrentRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.