mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
add bandwidthPriority param to torrent-get
This commit is contained in:
parent
06b0904681
commit
8e225c8053
@ -466,6 +466,7 @@ pub struct TorrentAddArgs {
|
||||
pub enum TorrentGetField {
|
||||
ActivityDate,
|
||||
AddedDate,
|
||||
BandwidthPriority,
|
||||
DoneDate,
|
||||
DownloadDir,
|
||||
EditDate,
|
||||
@ -513,6 +514,7 @@ impl TorrentGetField {
|
||||
match self {
|
||||
TorrentGetField::ActivityDate => "activityDate",
|
||||
TorrentGetField::AddedDate => "addedDate",
|
||||
TorrentGetField::BandwidthPriority => "bandwidthPriority",
|
||||
TorrentGetField::DoneDate => "doneDate",
|
||||
TorrentGetField::DownloadDir => "downloadDir",
|
||||
TorrentGetField::EditDate => "editDate",
|
||||
|
||||
@ -99,6 +99,7 @@ pub enum ErrorType {
|
||||
pub struct Torrent {
|
||||
pub activity_date: Option<i64>,
|
||||
pub added_date: Option<i64>,
|
||||
pub bandwidth_priority: Option<i64>,
|
||||
pub done_date: Option<i64>,
|
||||
pub download_dir: Option<String>,
|
||||
pub edit_date: Option<i64>,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user