1
0
Fork 0
mirror of https://github.com/kotovalexarian/jsonapis.rs.git synced 2025-06-02 18:32:25 -04:00

Add struct field Document.errors

This commit is contained in:
Alex Kotov 2022-08-03 01:09:53 +04:00
parent 71c0795222
commit b315de3381
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
4 changed files with 162 additions and 11 deletions

View file

@ -142,6 +142,7 @@ fn main() {
}),
}),
]),
"errors": json!(null),
});
let actual_json = serde_json::to_string(&document).unwrap();