Struct qbittorrent::queries::TorrentDownload
source · [−]pub struct TorrentDownload { /* private fields */ }
Expand description
Metadata for downloading magnet links and torrent files
NOTE: You must include either a urls
field or torrents
field
urls string URLs separated with newlines torrents raw Raw data of torrent file. torrents can be presented multiple times. savepath optional string Download folder cookie optional string Cookie sent to download the .torrent file category optional string Category for the torrent skip_checking optional string Skip hash checking. Possible values are true, false (default) paused optional string Add torrents in the paused state. Possible values are true, false (default) root_folder optional string Create the root folder. Possible values are true, false, unset (default) rename optional string Rename torrent upLimit optional integer Set torrent upload speed limit. Unit in bytes/second dlLimit optional integer Set torrent download speed limit. Unit in bytes/second autoTMM optional bool Whether Automatic Torrent Management should be used sequentialDownload optional string Enable sequential download. Possible values are true, false (default) firstLastPiecePrio optional string Prioritize download first last piece. Possible values are true, false (default)
Implementations
Trait Implementations
sourceimpl Clone for TorrentDownload
impl Clone for TorrentDownload
sourcefn clone(&self) -> TorrentDownload
fn clone(&self) -> TorrentDownload
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 TorrentDownload
impl Debug for TorrentDownload
sourceimpl Default for TorrentDownload
impl Default for TorrentDownload
sourcefn default() -> TorrentDownload
fn default() -> TorrentDownload
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TorrentDownload
impl<'de> Deserialize<'de> for TorrentDownload
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 TorrentDownload
impl Serialize for TorrentDownload
Auto Trait Implementations
impl RefUnwindSafe for TorrentDownload
impl Send for TorrentDownload
impl Sync for TorrentDownload
impl Unpin for TorrentDownload
impl UnwindSafe for TorrentDownload
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