added faction role to territory war report

This commit is contained in:
TotallyNot 2023-08-11 17:09:13 +02:00
parent 9af77054c8
commit b7adb5fd7d
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "torn-api" name = "torn-api"
version = "0.5.23" version = "0.5.24"
edition = "2021" edition = "2021"
authors = ["Pyrit [2111649]"] authors = ["Pyrit [2111649]"]
license = "MIT" license = "MIT"

View file

@ -198,6 +198,8 @@ pub struct TerritoryWarReportFaction {
pub score: i32, pub score: i32,
pub joins: i32, pub joins: i32,
pub clears: i32, pub clears: i32,
#[serde(rename = "type")]
pub role: TerritoryWarReportRole,
} }
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]