diff --git a/src/types/request.rs b/src/types/request.rs index 061735e..329aaa4 100644 --- a/src/types/request.rs +++ b/src/types/request.rs @@ -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", diff --git a/src/types/response.rs b/src/types/response.rs index b8b766c..36a9c9d 100644 --- a/src/types/response.rs +++ b/src/types/response.rs @@ -99,6 +99,7 @@ pub enum ErrorType { pub struct Torrent { pub activity_date: Option, pub added_date: Option, + pub bandwidth_priority: Option, pub done_date: Option, pub download_dir: Option, pub edit_date: Option,