summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Prokop <christoph.prokop@atos.net>2021-04-08 09:37:25 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-08 16:31:34 +0200
commita3acdbbaea861b55434fb42208504cca04715689 (patch)
tree0e6797e1501f85c461a45299d4588d3b44c869df
parent0351f3f9c3ddb1545f324f6902848e3abf6c3ce3 (diff)
Fix: make BinName optional
Signed-off-by: Christoph Prokop <christoph.prokop@atos.net> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--librepology/src/v1/types/response/problem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/librepology/src/v1/types/response/problem.rs b/librepology/src/v1/types/response/problem.rs
index fd9d68b..4022eb3 100644
--- a/librepology/src/v1/types/response/problem.rs
+++ b/librepology/src/v1/types/response/problem.rs
@@ -26,7 +26,7 @@ pub struct Problem {
#[serde(rename = "binname")]
#[getset(get = "pub")]
- binname: BinName,
+ binname: Option<BinName>,
#[serde(rename = "rawversion")]
#[getset(get = "pub")]