mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
TorrentRenamePath: Make fields Optional. We should check parent struct's result instead!
Fix crashing tests.
This commit is contained in:
parent
d2e95c5528
commit
d114bda4ca
@ -181,9 +181,9 @@ impl RpcResponseArgument for TorrentAdded {}
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct TorrentRenamePath{
|
||||
pub path: String,
|
||||
pub name: String,
|
||||
pub id: i64
|
||||
pub path: Option<String>,
|
||||
pub name: Option<String>,
|
||||
pub id: Option<i64>,
|
||||
|
||||
}
|
||||
impl RpcResponseArgument for TorrentRenamePath {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user