mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00:00
add serialize
This commit is contained in:
parent
94283a73c2
commit
e6bbda0efc
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue