Struct qbittorrent::queries::TorrentRequest
source · [−]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
sourceimpl Clone for TorrentRequest
impl Clone for TorrentRequest
sourcefn clone(&self) -> TorrentRequest
fn clone(&self) -> TorrentRequest
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 more
sourceimpl Debug for TorrentRequest
impl Debug for TorrentRequest
sourceimpl Default for TorrentRequest
impl Default for TorrentRequest
sourcefn default() -> TorrentRequest
fn default() -> TorrentRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TorrentRequest
impl<'de> Deserialize<'de> for TorrentRequest
sourcefn 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
sourceimpl Serialize for TorrentRequest
impl Serialize for TorrentRequest
Auto Trait Implementations
impl RefUnwindSafe for TorrentRequest
impl Send for TorrentRequest
impl Sync for TorrentRequest
impl Unpin for TorrentRequest
impl UnwindSafe for TorrentRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more