1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 09:42:40 +01: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}")); assert_eq!(bytes, Bytes::from_static(b"{\"test\":1}"));
} }
#[derive(Deserialize)] #[derive(Deserialize, Serialize)]
struct FormData { struct FormData {
username: String, username: String,
} }