1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-19 06:36:36 +00:00

add serialize

This commit is contained in:
Dursun Akkurt 2018-06-12 22:42:15 +03:00
parent 94283a73c2
commit e6bbda0efc

View file

@ -96,7 +96,7 @@ fn test_async_extractor_async() {
assert_eq!(bytes, Bytes::from_static(b"{\"test\":1}"));
}
#[derive(Deserialize)]
#[derive(Deserialize, Serialize)]
struct FormData {
username: String,
}